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
| # | Question | Difficulty | Topic | Link |
|---|---|---|---|---|
| 1 | ๐ Find the duplicate in an array of N integers | ๐ข Low | Arrays | View Problem |
| 2 | ๐ Sort an array of 0โs 1โs 2โs without using extra space or sorting algo | ๐ Medium | Arrays | View Problem |
| 3 | ๐งฎ Repeat and Missing Number | ๐ข Low | Arrays | View Problem |
| 4 | ๐งฉ Merge two sorted Arrays without extra space | ๐ Medium | Arrays | View Problem |
| 5 | โก Kadaneโs Algorithm | ๐ Medium | Arrays | View Problem |
| 6 | ๐ Overlapping Subintervals | ๐ Medium | Arrays | View Problem |
| 7 | ๐ง Set Matrix Zeroes | ๐ Medium | Arrays | View Problem |
| 8 | ๐บ Pascal Triangle | ๐ Medium | Arrays | View Problem |
| 9 | ๐ Next Permutation | ๐ Medium | Arrays | View Problem |
| 10 | ๐ Inversion of Array (Using Merge Sort) | ๐ Medium | Arrays | View Problem |
| 11 | ๐น Stock Buy and Sell | ๐ Medium | Arrays | View Problem |
| 12 | ๐ Rotate Matrix | ๐ข Low | Arrays | View Problem |
| 13 | ๐ข Excel Column Number | ๐ Medium | Math | View Problem |
| 14 | ๐งฎ Find (n^x) in log N | ๐ข Low | Math | View Problem |
| 15 | ๐งฎ Trailing Zeroes in Factorial | ๐ข Low | Math | View Problem |
| 16 | ๐ GCD of Two Numbers | ๐ข Low | Math | View Problem |
| 17 | ๐บ๏ธ Grid Unique Paths | ๐ Medium | Math | View Problem |
| 18 | ๐ง 20 Puzzles asked in Interviews | โ Unknown | Puzzles | View Resource |
| 19 | ๐งฎ Two Sum | ๐ข Low | Hashing | View Problem |
| 20 | ๐ข 4 Sum | ๐ Medium | Hashing | View Problem |
DSA for Interviews
https://uxharshit.github.io/posts/sheet/