Bloomberg interview question

Transit scheduler question and a string/array question

Interview Answer

Anonymous

2 Feb 2022

I got close to the optimized solution, but I was missing something.