Convoy interview question

Two coding problems were real life problems