Cruise Interview Question

LeetCode algorithms and puzzles, mostly irrelevant for the role