InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 1909–1920 of 3610 questions

Interview Preparation & CodingIntermediate1 min read

When should you use binary search?

Binary search applies when the search space is ordered or a monotonic condition allows half the candidates to be eliminated each step.

Interview Preparation & CodingIntermediate1 min read

What is dynamic programming?

Dynamic programming solves overlapping subproblems by storing their results, using memoization or tabulation.