Tip 1 : Practice as many DSA questions as possible with focus on tree ,graph ,arrays ,Dynamic Programming
Tip 2 : Go through standard design practices ,Focus on LLD(using OOPs) and HLD (caching, horizontal scaling ,vertical scaling )
Tip 3 : Brush up computer network basics with focus on routing protocols , OSI vs TCP Model
Tip 1 : Have a good description of industrial experience(your contributions in previous company) along with some personal projects.
Tip 2 : Try to list down your skills and accomplishments . Ex: codechef profile , Github profile , Skill badges in Hackerrank.



The diameter of a tree is the number of nodes on the longest path between two end nodes
1)the diameter of T’s left subtree.
2)the diameter of T’s right subtree.
3)the longest path between leaves that goes through the root of T



Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining
Traverse the array from start to end.
For every element, traverse the array from start to that index and find the maximum height (a) and traverse the array from the current index to end, and find the maximum height (b).
The amount of water that will be stored in this column is min(a,b) – array[i], add this value to the total amount of water stored
Print the total amount of water stored.



The same word from a dictionary can be used as many times as possible to make sentences.
The idea is simple, we consider each prefix and search it in dictionary. If the prefix is present in dictionary, we recur for rest of the string




1. For a rectangle, its top left and bottom right coordinates are given.
2. Coordinates of the rectangles are integer values.
3. Edges of the given rectangles will always be parallel to the X and Y coordinate axes of the cartesian plane.
4. It is guaranteed that both the rectangles will have at least a unit area.
It was an Object oriented design round wherein i was supposed to come up with requirements, figure out actors in system, identify use cases for actors, create a class diagram and then provide the contracts and interactions of these classes with each other .
Its Regarding a Payment gateway.
Some Questions were asked on routing protocols , Java Exception Handling ,Unit Tests , Mulithreading.
Its a discussion regarding Projects I worked and challanges I faced while working on those projects . It also covered some HLD concepts like scaling ,caching , rabbitmq vs kafka .
Its a normal hr-round with discussion on Company culture , Compensation etc.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?