Introduce Big-O using iteration rather than recursion to make this important concept easier for students to understand.

  • Analyzing recursive code using Big-O requires more complex computations and is more difficult to do. This makes introducing Big-O using iteration a good starting point so students can prepare for more complicated analyses.

More about this tip

External Source
Interview with Helen Hu.
Other Tips By