Whenever you're ready, walk me through how you'd approach this.
How would you handle edge cases in a recursive data structure? Explain how you would identify the relevant failure modes, decide which cases to prioritize, and validate that your implementation is correct. Focus on your reasoning, testing approach, and how you would communicate or address risks you discover.