Bloomberg interview question

Transit scheduler question and a string/array question

Interview Answer

Anonymous

Feb 2, 2022

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