Slide 12
Slide 12 text
After your first pass at the problem!
• Take a step back.
• Try some sample test cases
• (if asked to try a specific one, you might have missed
something).
• Look for common pitfalls (floating point precision, string
concatenation cost, off-by-one errors in indices)