All company sheets
Scaler Academy DSA interview questions
35 problems to practise before your Scaler Academy online test or coding round. Most widely asked first.
35
Questions
11
Easy
24
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.
35 questions
- 1
Two Sum
EasyArrayTagged at 7 companies - 2
Two Sum II - Input Array Is Sorted
EasyArrayTagged at 7 companies - 3
Calculate the N-th Fibonacci Number
EasyRecursionTagged at 7 companies - 4
Find if Binary Tree Path Sum Equals Target
EasyRecursionTagged at 7 companies - 5
Find the Search Insert Position for a Target
EasyBinary SearchTagged at 7 companies - 6
Container With Most Water
MediumArrayTagged at 7 companies - 7
Task Scheduler
MediumGreedyTagged at 7 companies - 8
Find All Palindrome Partitionings of a String
MediumRecursionTagged at 7 companies - 9
Find the Kth Smallest Element in a BST
MediumRecursionTagged at 7 companies - 10
Construct Binary Tree from Preorder and Inorder Traversal
MediumRecursionTagged at 7 companies - 11
Find the Minimum Element in a Rotated Sorted Array
MediumBinary SearchTagged at 7 companies - 12
Find K Closest Elements to a Target X
MediumBinary SearchTagged at 7 companies - 13
Maximize Magnetic Force Between Two Balls
MediumBinary SearchTagged at 7 companies - 14
Find the Subarray Sum That Equals K
MediumArrayTagged at 7 companies - 15
Generate All Combinations that Sum to a Target
MediumArrayTagged at 7 companies - 16
Cloud Billing Budget Threshold
MediumSliding WindowTagged at 7 companies - 17
Max Consecutive Ones III
MediumSliding WindowTagged at 7 companies - 18
Fruit Into Baskets
MediumSliding WindowTagged at 7 companies - 19
Same Tree
EasyTreeTagged at 6 companies - 20
Remove All Adjacent Duplicates from a String
EasyStack and QueueTagged at 6 companies - 21
Remove Outermost Parentheses from Valid String
EasyStack and QueueTagged at 6 companies - 22
Palindrome Linked List Using a Stack
EasyLinkedListTagged at 6 companies - 23
Find the Nth Node in a Linked List
EasyLinkedListTagged at 6 companies - 24
Implement N-ary Tree Preorder Traversal
EasyTreeTagged at 6 companies - 25
Find First Non-Repeating Character in a Stream
MediumStack and QueueTagged at 6 companies - 26
Reverse a Queue Using Only Standard Operations
MediumStack and QueueTagged at 6 companies - 27
Find the Length of the Loop in a Linked List
MediumLinkedListTagged at 6 companies - 28
Segregate Even and Odd Nodes in a Linked List
MediumLinkedListTagged at 6 companies - 29
Convert Binary Tree to a Circular Doubly Linked List
MediumLinkedListTagged at 6 companies - 30
Implement N-ary Tree Level Order Traversal
MediumTreeTagged at 6 companies - 31
Find the Lowest Common Ancestor (LCA) of an N-ary Tree
MediumTreeTagged at 6 companies - 32
Find All Nodes at Distance K from a Target Node
MediumTreeTagged at 6 companies - 33
Implement the 'Count and Say' Sequence
MediumStringTagged at 6 companies - 34
Check if String Contains a Permutation of Another
MediumStringTagged at 6 companies - 35
Check if String is a Valid Palindrome After One Deletion
MediumStringTagged at 6 companies