All question types

Iterative Binary Search Tree

Ordered binary-search-tree problems solved iteratively, following one path down the tree in a loop.

Course notes:Node and class declarationIterative methods— one way to write these, to compare against, not a key.

Generate a question

Free models work without credits. A current paid model writes clearer questions: in the instructor's tests openai/gpt-5 wrote realistic scenarios, while cheaper models sometimes ran words together.