Optiver interview question

Rearranging timetables, Aligning bar charts