Filter interviews by
I applied via LinkedIn and was interviewed in Sep 2023. There were 3 interview rounds.
The topic for coding test was from graph and dynamic programming, questions where from medium to hard level.
Stack and queue can be implemented using arrays or linked lists. Stack follows LIFO while queue follows FIFO.
Stack can be implemented using arrays with push and pop operations.
Queue can be implemented using arrays with enqueue and dequeue operations.
Both stack and queue can also be implemented using linked lists for dynamic size.
Example: Implementing a stack using an array in C++
Example: Implementing a queue using a li
To find the middle element of a LinkedList, use two pointers - one moving at double the speed of the other.
Initialize two pointers, slow and fast, at the head of the LinkedList.
Move the slow pointer by one step and the fast pointer by two steps until the fast pointer reaches the end of the LinkedList.
The element pointed to by the slow pointer at this point will be the middle element.
BST (Binary Search Tree) is a data structure where each node has at most two children, with left child being less than parent and right child being greater.
BST is used for efficient searching, insertion, and deletion of elements.
In-order traversal of BST gives elements in sorted order.
Example: Inserting elements 5, 3, 8, 1, 4 into a BST would result in a tree with root 5, left child 3, right child 8, and left child of
Recursively iterate through an array of strings
Use a base case to stop the recursion
Pass a smaller portion of the array in each recursive call
Concatenate or manipulate the strings as needed
Analyst
163
salaries
| ₹9.3 L/yr - ₹30 L/yr |
Senior Analyst
139
salaries
| ₹12 L/yr - ₹46 L/yr |
Manager
69
salaries
| ₹14 L/yr - ₹60 L/yr |
Project Lead
53
salaries
| ₹25 L/yr - ₹94 L/yr |
Member Technical Staff
47
salaries
| ₹11.5 L/yr - ₹42.5 L/yr |
Goldman Sachs
Morgan Stanley
Citadel
Blackrock