Copart interview question

Problem solving, coding questions on ds and a puzzle.