Tip 1 : Clear all data structures problems and prepare them multiple times
Tip 2 : Do online coding test like hackerRank and other
Tip 3 : Prepare core concepts
Tip 1: short and crisp
Tip 2: include all projects and certificates
Some mcq and 2 coding questions
N = 3, A = [ 4, 8, 6 ], S = [ “tb”, “ay”, “yb” ]
For each string, we have 2 choices, whether to reverse it or not.
For [ “tb”, “ay”, “yb”], not sorted in lexicographical order.
For [ “tb”, “ay”, “by”], not sorted in lexicographical order.
For [ “tb”, “ya”, “yb”], sorted in lexicographical order and the cost is 0 + 8 + 0 = 8.
For [ “tb”, “ya”, “by”], not sorted in lexicographical order.
For [ “bt”, “ay”, “yb”], not sorted in lexicographical order.
For [ “bt”, “ay”, “by”], not sorted in lexicographical order.
For [ “bt”, “ya”, “yb”], sorted in lexicographical order and the cost is 4 + 8 + 0 = 12.
For [ “bt”, “ya”, “by”], not sorted in lexicographical order.
Hence, the answer is 8.
Inputs:-1. current position of person in x and y format
2. Current facing direction(East, West, North, South)
3. Some input array(M,M,M,L,M,R,M)
M- move
L - turn Left
R- turn Right
Output:- you need to tell the last position and direct of the person after iterating all inputs.
Tip 1: make the design for this in XY graph format
Tip 2:then take initiate x and y point as given
Tip 3: then iterate each value of input and change the point and direction accordingly
In this round, interviewer ask all concepts related to your coding languages (like java) and data structures problem and solution for that. Database query for some problems.
Design a parking lot.
Your communication skills are checked
How you handle the situation
Location constraints

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?