TGViewer
Coding Interview Resources Coding Interview Resources @crackingthecodinginterview · 52.1K subscribers
Post #1156 7.48K
Top 20 most asked DSA questions to ace your next interview:

➤ Arrays and Strings:

1. Find the maximum sum subarray.

2. Implement the "two sum" problem.

3. Implement Kadane's algorithm for maximum subarray sum.

4. Find the missing number in an array of integers.

5. Merge two sorted arrays into one sorted array.

6. Check if a string is a palindrome.

➤ Linked Lists:

7. Reverse a linked list.

8. Detect a cycle in a linked list.

9. Find the middle of a linked list.

10. Merge two sorted linked lists.

➤ Stacks and Queues:

11. Implement a stack that supports push, pop, top, and retrieving the minimum element.

12. Implement a circular queue.

13. Design a queue using stacks.



➤ Trees and Binary Search Trees:

14. Find the height of a binary tree.

15. Validate if a binary tree is a valid binary search tree.

16. Implement an inorder traversal of a binary tree.



➤ Graphs:

17. Implement depth-first search (DFS).

18. Find the shortest path between two nodes in an unweighted graph.


➤ Sorting and Searching:

19. Implement quicksort.

20. Implement binary search.

Best DSA Resources: 👇
https://topmate.io/coding/886874

All the best 👍👍
  • 👍 11
  • ❤ 5
More from @crackingthecodinginterview
  1. Oct 16, 2026𝗗𝗮𝘁𝗮 𝘀𝗰𝗶𝗲𝗻𝗰𝗲 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗪𝗶𝘁𝗵 𝗔𝗜😍 Future Ready Data Scien…
  2. Oct 16, 2026If you're working with data pipelines, these repositories are very useful: 🚀📊 ibis: A Py…
  3. Oct 13, 2026𝗧𝗢𝗣 𝗙𝗥𝗘𝗘 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 𝗧𝗢 𝗕𝗢𝗢𝗦𝗧 𝗬𝗢𝗨𝗥 𝗦𝗞𝗜𝗟𝗟𝗦 𝗜𝗡 𝟮𝟬𝟮𝟲! Explor…
  4. Oct 12, 2026🚀 𝗪𝗵𝗶𝗰𝗵 𝗧𝗲𝗰𝗵 𝗦𝗸𝗶𝗹𝗹 𝗪𝗶𝗹𝗹 𝗬𝗼𝘂 𝗠𝗮𝘀𝘁𝗲𝗿 𝗶𝗻 𝟮𝟬𝟮𝟲? Want to buil…
  5. Oct 9, 2026🔥 SQL Interview Case Studies (Advanced Business Scenarios) 💯 🧠 Case Study 1: Find Repea…
  6. Oct 9, 2026🇮🇳 𝗚𝗢𝗩𝗘𝗥𝗡𝗠𝗘𝗡𝗧 𝗢𝗙 𝗜𝗡𝗗𝗜𝗔 — 𝗔𝗜𝗖𝗧𝗘 𝗜𝗡𝗧𝗘𝗥𝗡𝗦𝗛𝗜𝗣𝗦 𝟮𝟬𝟮𝟲 🚀…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →