Fast Revision DSA Sheet: 60 Questions to Crack Any Service-Based Company

Posted on: Thu Jun 19 2025

🔹 Easy Level (For Basics)

  1. Reverse a String – TCS Ninja

  2. Two Sum – Wipro

  3. Palindrome Check – Infosys

  4. [Find Max and Min in Array] – Capgemini

  5. [Fibonacci using Recursion] – Infosys

  6. [Linear Search] – TCS

  7. Binary Search – Wipro

  8. Remove Duplicates from Sorted Array – TCS

  9. Check Anagram – Capgemini

  10. Merge Two Sorted Arrays – Infosys


🔹 Medium Level (Must-Solve)

  1. Two Sum II - Input Sorted – Wipro

  2. Rotate Array – Capgemini

  3. Majority Element – Infosys

  4. Linked List Cycle – TCS Digital

  5. Middle of Linked List – Wipro

  6. Intersection of Two Arrays – TCS

  7. Climbing Stairs (DP) – Infosys

  8. Valid Parentheses – Capgemini

  9. Longest Common Prefix – Wipro

  10. Count 1s in Binary – Infosys

  11. Subarray Sum Equals K – Capgemini

  12. Kth Largest Element – Infosys

  13. Find Peak Element – TCS

  14. Move Zeroes – Wipro

  15. Isomorphic Strings – Infosys

  16. Power of Two – Capgemini

  17. Missing Number – TCS

  18. First Unique Character in String – Wipro

  19. Detect Capital – Infosys

  20. Relative Ranks – Capgemini


🔹 Advanced Level (Optional but Strong Boost)

  1. Merge Intervals – Infosys SP

  2. Search in Rotated Sorted Array – TCS Digital

  3. Longest Substring Without Repeating Characters – Wipro

  4. Unique Paths – TCS

  5. Implement Trie – Capgemini

  6. Flood Fill – Wipro

  7. Subsets – Infosys

  8. Letter Case Permutation – TCS

  9. Find the Difference – Wipro

  10. N-Queens – Infosys


🔹 Interview-Driven Coding Questions

  1. Reverse Linked List – Infosys

  2. Palindrome Linked List – TCS

  3. Maximum Depth of Binary Tree – Wipro

  4. Diameter of Binary Tree – Infosys

  5. Lowest Common Ancestor – Capgemini

  6. Course Schedule – Infosys

  7. Find the Duplicate Number – TCS Digital

  8. Top K Frequent Elements – Capgemini

  9. Valid Anagram – Infosys

  10. House Robber – TCS


🔹 Bonus 10 Questions (Speed Practice)

  1. Fizz Buzz – TCS

  2. Maximum Product of Three Numbers – Infosys

  3. Longest Palindromic Substring – TCS Digital

  4. Binary Tree Inorder Traversal – Capgemini

  5. Find All Duplicates – Infosys

  6. Jump Game – Wipro

  7. Majority Element II – TCS

  8. Spiral Matrix – Capgemini

  9. Find Pivot Index – Infosys

   60. Check If N and Its Double Exist – TCS