164 words
1 minutes
DSA for Interviews

DSA for Interviews#

This sheet is a collection of important Data Structures and Algorithms (DSA) questions that are frequently asked in technical interviews. It includes a variety of problems, ranging from easy to medium difficulty, primarily focusing on arrays.

๐Ÿงฉ Questions#

#QuestionDifficultyTopicLink
1๐Ÿ” Find the duplicate in an array of N integers๐ŸŸข LowArraysView Problem
2๐Ÿ”„ Sort an array of 0โ€™s 1โ€™s 2โ€™s without using extra space or sorting algo๐ŸŸ  MediumArraysView Problem
3๐Ÿงฎ Repeat and Missing Number๐ŸŸข LowArraysView Problem
4๐Ÿงฉ Merge two sorted Arrays without extra space๐ŸŸ  MediumArraysView Problem
5โšก Kadaneโ€™s Algorithm๐ŸŸ  MediumArraysView Problem
6๐Ÿ“† Overlapping Subintervals๐ŸŸ  MediumArraysView Problem
7๐ŸงŠ Set Matrix Zeroes๐ŸŸ  MediumArraysView Problem
8๐Ÿ”บ Pascal Triangle๐ŸŸ  MediumArraysView Problem
9๐Ÿ” Next Permutation๐ŸŸ  MediumArraysView Problem
10๐Ÿ”ƒ Inversion of Array (Using Merge Sort)๐ŸŸ  MediumArraysView Problem
11๐Ÿ’น Stock Buy and Sell๐ŸŸ  MediumArraysView Problem
12๐Ÿ”„ Rotate Matrix๐ŸŸข LowArraysView Problem
13๐Ÿ”ข Excel Column Number๐ŸŸ  MediumMathView Problem
14๐Ÿงฎ Find (n^x) in log N๐ŸŸข LowMathView Problem
15๐Ÿงฎ Trailing Zeroes in Factorial๐ŸŸข LowMathView Problem
16๐Ÿ”— GCD of Two Numbers๐ŸŸข LowMathView Problem
17๐Ÿ—บ๏ธ Grid Unique Paths๐ŸŸ  MediumMathView Problem
18๐Ÿง  20 Puzzles asked in Interviewsโ” UnknownPuzzlesView Resource
19๐Ÿงฎ Two Sum๐ŸŸข LowHashingView Problem
20๐Ÿ”ข 4 Sum๐ŸŸ  MediumHashingView Problem
DSA for Interviews
https://uxharshit.github.io/posts/sheet/
Author
Harshit Katheria
Published at
2025-06-03
License
CC BY-NC-SA 4.0