DSA · INTERVIEW & OA PREP
You will be asked 'what's the complexity?' after nearly every problem. Fluency with Big-O — and with the trade-off between time and space — is a baseline expectation, not an advanced topic.
Analyze complexity before you're asked — it signals seniority and often reveals the intended optimization.
Counting only the visible loop and ignoring hidden costs (sorting inside a loop, recursion stack, string concatenation).
Three tap-only questions to test your recall on this topic.
Ready to apply? Browse live internships and sharpen your resume first.