Common Interview Questions and Answers
Practice the most frequently asked interview questions with expert answers, approach tips, and AI-powered feedback.
Company-led browse
Start with the company you are targeting
Open a company hub to see the questions candidates report most often there.
76K views•4mo ago
What is the optimal dynamic programming approach for a grid path problem?
DSA
Asked at Goldman Sachs
Hard
64.6K Users PracticedPractice with This Question
59.4K views•4mo ago
Describe PRIMARY KEY and how it differs from UNIQUE key
SQL
Medium
50.5K Users PracticedPractice with This Question
91.6K views•4mo ago
Explain LAG and LEAD functions
SQL
Medium
77.8K Users PracticedPractice with This Question
57.8K views•4mo ago
Explain anti-joins in SQL
SQL
Medium
49.2K Users PracticedPractice with This Question
121.4K views•4mo ago
Explain correlated subqueries and give an example
SQL
Hard
103.2K Users PracticedPractice with This Question
139.4K views•4mo ago
Explain RANK, DENSE_RANK, and ROW_NUMBER differences
SQL
Medium
118.5K Users PracticedPractice with This Question
124.7K views•4mo ago
Describe set operations UNION, INTERSECT, and EXCEPT
SQL
Medium
106K Users PracticedPractice with This Question
147.7K views•4mo ago
How do you trap rain water given an elevation map?
DSA
Hard
125.5K Users PracticedPractice with This Question
56.2K views•4mo ago
How do you compute the product of all array elements except self?
DSA
Medium
47.8K Users PracticedPractice with This Question
50.7K views•4mo ago
What is the best strategy to buy and sell stock once?
DSA
Medium
43.1K Users PracticedPractice with This Question