All company sheets
Classplus DSA interview questions
11 problems to practise before your Classplus online test or coding round. Most widely asked first.
11
Questions
2
Easy
8
Medium
1
Hard
Likely asked. Problems that match the style and topics this company is known to test. These are Astra’s own tags, not an official question list.
11 questions
- 1
Reverse a String Using Recursion
EasyRecursionTagged at 7 companies - 2
Count Number of Unique Binary Search Trees
MediumRecursionTagged at 7 companies - 3
Find the Diameter of a Binary Tree (Facebook/Google)
EasyTreeTagged at 6 companies - 4
Decode String
MediumStackTagged at 6 companies - 5
Calculate the Score of a Parentheses String
MediumStack and QueueTagged at 6 companies - 6
Find the Maximum Width Ramp in an Array
MediumStack and QueueTagged at 6 companies - 7
Copy List with Random Pointer (O(1) Space)
MediumLinkedListTagged at 6 companies - 8
Check if a Linked List is a Palindrome (Recursive)
MediumLinkedListTagged at 6 companies - 9
Populate Next Right Pointers in Each Node II (Any Tree)
MediumTreeTagged at 6 companies - 10
Letter Combinations of a Phone Number
MediumBacktrackingTagged at 5 companies - 11
Flatten a Linked List (with Next and Bottom Pointers)
HardLinkedListTagged at 5 companies