Cruise interview question

LeetCode algorithms and puzzles, mostly irrelevant for the role