DSA track

DSA interview questions and answers

Panel-ready DSA interview set questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

224 Qs
68 Easy Recursion DSA

When would you prefer recursion over iteration?

Short take

Simple meaning

Recursion matches tree and graph DFS, divide-and-conquer, and backtracking because the call stack stores the path.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
73 Moderate Arrays DSA

How do you merge overlapping intervals?

Short take

Simple meaning

Sort intervals by start time, then scan and either extend the last merged interval when the next start is at most the current end, or push a new interval.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 4 of 12 Next
Chat with us