All question types

Iterative Binary Tree

Binary-tree problems solved iteratively — walk the tree with your own stack or queue instead of recursion.

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.