Common Interview Questions and Answers
Practice the most frequently asked interview questions with expert answers, approach tips, and AI-powered feedback.
76K views•2mo 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•1mo ago
Describe PRIMARY KEY and how it differs from UNIQUE key
SQL
Medium
50.5K Users PracticedPractice with This Question
91.6K views•1mo ago
Explain LAG and LEAD functions
SQL
Medium
77.8K Users PracticedPractice with This Question
57.8K views•1mo ago
Explain anti-joins in SQL
SQL
Medium
49.2K Users PracticedPractice with This Question
121.4K views•1mo ago
Explain correlated subqueries and give an example
SQL
Hard
103.2K Users PracticedPractice with This Question
139.4K views•1mo ago
Explain RANK, DENSE_RANK, and ROW_NUMBER differences
SQL
Medium
118.5K Users PracticedPractice with This Question
124.7K views•1mo ago
Describe set operations UNION, INTERSECT, and EXCEPT
SQL
Medium
106K Users PracticedPractice with This Question
147.7K views•1mo ago
How do you trap rain water given an elevation map?
DSA
Hard
125.5K Users PracticedPractice with This Question
56.2K views•1mo 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•1mo ago
What is the best strategy to buy and sell stock once?
DSA
Medium
43.1K Users PracticedPractice with This Question