Fast Revision DSA Sheet: 60 Questions to Crack Any Service-Based Company
Posted on: Thu Jun 19 2025
🔹 Easy Level (For Basics)
-
Reverse a String – TCS Ninja
-
Two Sum – Wipro
-
Palindrome Check – Infosys
-
[Find Max and Min in Array] – Capgemini
-
[Fibonacci using Recursion] – Infosys
-
[Linear Search] – TCS
-
Binary Search – Wipro
-
Check Anagram – Capgemini
-
Merge Two Sorted Arrays – Infosys
🔹 Medium Level (Must-Solve)
-
Two Sum II - Input Sorted – Wipro
-
Rotate Array – Capgemini
-
Majority Element – Infosys
-
Linked List Cycle – TCS Digital
-
Middle of Linked List – Wipro
-
Climbing Stairs (DP) – Infosys
-
Valid Parentheses – Capgemini
-
Longest Common Prefix – Wipro
-
Count 1s in Binary – Infosys
-
Subarray Sum Equals K – Capgemini
-
Kth Largest Element – Infosys
-
Find Peak Element – TCS
-
Move Zeroes – Wipro
-
Isomorphic Strings – Infosys
-
Power of Two – Capgemini
-
Missing Number – TCS
-
First Unique Character in String – Wipro
-
Detect Capital – Infosys
-
Relative Ranks – Capgemini
🔹 Advanced Level (Optional but Strong Boost)
-
Merge Intervals – Infosys SP
-
Search in Rotated Sorted Array – TCS Digital
-
Unique Paths – TCS
-
Implement Trie – Capgemini
-
Flood Fill – Wipro
-
Subsets – Infosys
-
Letter Case Permutation – TCS
-
Find the Difference – Wipro
-
N-Queens – Infosys
🔹 Interview-Driven Coding Questions
-
Reverse Linked List – Infosys
-
Palindrome Linked List – TCS
-
Maximum Depth of Binary Tree – Wipro
-
Diameter of Binary Tree – Infosys
-
Lowest Common Ancestor – Capgemini
-
Course Schedule – Infosys
-
Find the Duplicate Number – TCS Digital
-
Top K Frequent Elements – Capgemini
-
Valid Anagram – Infosys
-
House Robber – TCS
🔹 Bonus 10 Questions (Speed Practice)
-
Fizz Buzz – TCS
-
Maximum Product of Three Numbers – Infosys
-
Longest Palindromic Substring – TCS Digital
-
Binary Tree Inorder Traversal – Capgemini
-
Find All Duplicates – Infosys
-
Jump Game – Wipro
-
Majority Element II – TCS
-
Spiral Matrix – Capgemini
-
Find Pivot Index – Infosys