All company sheets
Tech Mahindra DSA interview questions
29 problems to practise before your Tech Mahindra online test or coding round. Most widely asked first.
29
Questions
8
Easy
21
Medium
0
Hard
Good practice. Problems at the level of this company’s online test and coding round. Treat it as a practice set, not a leak. These are Astra’s own tags, not an official question list.
29 questions
- 1
Count the Number of Ways to Climb Stairs
EasyArrayTagged at 7 companies - 2
Move Zeroes
EasyTwo PointersTagged at 7 companies - 3
Calculate Power of a Number (x^n)
MediumRecursionTagged at 7 companies - 4
Restore All Valid IP Addresses from a String
MediumRecursionTagged at 7 companies - 5
Search a 2D Matrix II (Rows and Columns Sorted)
MediumBinary SearchTagged at 7 companies - 6
Minimum Number of Days to Make 'm' Bouquets
MediumBinary SearchTagged at 7 companies - 7
Find the Minimum Limit of Balls in a Bag
MediumBinary SearchTagged at 7 companies - 8
Find the Kth Largest Element in an Array
MediumArrayTagged at 7 companies - 9
IoT Sensor Anomaly Detection
MediumSliding WindowTagged at 7 companies - 10
String Compression Decoder
MediumTwo PointersTagged at 7 companies - 11
Valid Triangle Number Combinations
MediumTwo PointersTagged at 7 companies - 12
Generate Binary Numbers from 1 to N Using Queue
EasyStack and QueueTagged at 6 companies - 13
Check for Backspace String Compare with Stack Simulation
EasyStack and QueueTagged at 6 companies - 14
Remove Duplicates from a Sorted Linked List
EasyLinkedListTagged at 6 companies - 15
Design a Stack using a Doubly Linked List
EasyLinkedListTagged at 6 companies - 16
Move the Last Element to the Front of the Linked List
EasyLinkedListTagged at 6 companies - 17
Convert a Singly Linked List to a Circular Linked List
EasyLinkedListTagged at 6 companies - 18
Simplify Unix-Style Absolute File System Path
MediumStack and QueueTagged at 6 companies - 19
Validate Stack Sequences with Push and Pop Operations
MediumStack and QueueTagged at 6 companies - 20
Design a Memory-Efficient Circular Queue
MediumStack and QueueTagged at 6 companies - 21
Predict the Winner of the Dota2 Senate Game
MediumStack and QueueTagged at 6 companies - 22
Find Least Number of Perfect Squares that Sum to N
MediumStack and QueueTagged at 6 companies - 23
Determine If a Graph Is Bipartite Using BFS
MediumStack and QueueTagged at 6 companies - 24
Find the Starting Node of a Linked List Cycle
MediumLinkedListTagged at 6 companies - 25
Add Two Numbers II (Digits in Forward Order)
MediumLinkedListTagged at 6 companies - 26
Implement Deletion from a Binary Search Tree (BST)
MediumTreeTagged at 6 companies - 27
Find All Duplicate Subtrees in a Binary Tree
MediumTreeTagged at 6 companies - 28
Solve the Word Break Problem (DP)
MediumStringTagged at 6 companies - 29
Convert an Integer to a Roman Numeral String
MediumStringTagged at 6 companies