Interview question · Assessment or case study

“Solve a coding problem, then talk us through its time complexity.”

Software Engineer

How to answer it

Think out loud, start with a simple solution, then improve it. State the Big-O of your final answer and test it on edge cases before saying you are done.

Know someone with an interview coming up? Send it to them.