Whenever you're ready, walk me through how you'd approach this.
Tell me about an algorithm and data structure approach you would use to solve a problem with multiple parts and constraints.