Tip 1 : Make sure to understand the usage of Data structures, rather than just focussing on the number of questions. Move from basic questions to medium level which helps you understand the applications of DS.
Tip 2 : Study core subjects(DBMS, OOPS, OS) alongside your preparation so you don't panic at the last moment. During interviews you should just revise these topics through some Notes.
Tip 3 : A few companies also focus on Case Studies and Guesstimates. So if you are preparing for companies like : ZS, ION Trading, Bain & Company. Prepare for these topics as well because such companies have elimination rounds focussing on just case studies.
Tip 1 : Have at least 1-2 good projects that you are prepared to discuss in case any interviewer wants to discuss the projects. Deploy the project and attach the link in the resume.
Tip 2 : Make sure to properly mention the academic details, experience( if any), achievements. Do not write anything in the resume that you are not aware of.
It was of 2 hours with 4 sections - Coding, Quant, LR, English



A subsequence of an array/list is obtained by deleting some number of elements (can be zero) from the array/list, leaving the remaining elements in their original order.



If N = 4, K = 2 and subjects = {50,100,300,400}
Assignment of problems can be done in the following ways among the two friends.
{} and {50,100,300,400}. Time required = max(0, 50+100+300+400) = max(0, 850) = 850
{50} and {100,300,400}. Time required = max(50, 100+300+400) = max(50, 800) = 800
{50, 100} and {300,400}. Time required = max(50+100, 300+400) = max(150, 700) = 700
{50,100,300} and {400}. Time required = max(50+100+300, 400) = max(450, 400) = 400
{50,100,300, 400} and {}. Time required = max(50+100+300+400, 0) = max(850, 0) = 850
So, out of all the above following ways, 400 is the lowest possible time.
This round lasted for about an hour. Topics covered - DSA questions, Puzzles, OOPS. Started with introductions from both and then we started with questions.
You have a 3 liter jug and a 5 liter jug (this could also be in gallons). The jugs have no measurement lines on them either. How could you measure exactly 4 liter using only those jugs and as much extra water as you need?
Tip 1 : Try to think of different possible ways and dont get stuck on a particular solution



For the following array:
[0 1 1 1 0 0 1]
The output should be [0 0 0 1 1 1 1].
You have to sort the array in place.
I started with the 2 pointer approach. Basically 2 pointer( i & j ) would divide the array in 2 halves :
0 - i ->half for 0s;
i+1 - j ->half for 1s;
Keep on iterating the array with an increasing j, depending on the element we encounter, if its 0, we replace it with i+1 position element; if its 1, we simply increase the half of 1.
Interviewer was satisfied with this approach. time complexity - O(n). Space complexity - O(!)



getSize: Returns an integer. Gets the current size of the stack
isEmpty: Returns a boolean. Gets whether the stack is empty
push: Returns nothing. Accepts an integer. Puts that integer at the top of the stack
pop: Returns nothing. Removes the top element of the stack. It does nothing if the stack is empty.
getTop: Returns an integer. Gets the top element of the stack. Returns -1 if the stack is empty
I created a class stack and implemented stack through a LinkedList. Implemented function of pop() and push();
Explain main concepts of OOPS. Discussed in details the concept of abstraction.
Tip 1 : be thorough with your concepts
Tip 2 : focus on real world usage of such concepts.
This was a Case study round. I was given a case study with some data. I got 10 minutes to analyse the scenario and formulate my answer and approach. then I discussed it with the interviewer. He will counter question as to why you chose a particular actions
There is a Urban Company like startup providing salon, beauty, house cleaning services, etc door to door to working individuals. They provide such services at odd timings as per the convenience of individuals and thus they charge a premium for this. They are well set in Hyderabad and now looking to expand in other cities. Which cities would you suggest and why ?
3 cities were provided along with their population : Delhi, Bangalore, Thiruvananthapuram
Tip 1 : Go in depth to understand the business requirements
Tip 2 : Ask questions to interviewer to clarify the doubts
Tip 3 : There is no correct answer. You should be able to justify your answer with proper reasoning.
The round was with a VP of Engineering. This round covered typical HR questions along with some questions focussing on SDLC and Agile.
Where do you see yourself in 5 years down the line? Weakness and strengths ? why ION?
Tip 1 : Prepare in advance to such questions.
Tip 2 : Be clear what you to showcase in your answers.
Tip 3 : Study a bit about the company.
Regarding my project, which framework is used and why? how is it better than others?
Tip 1 : Have in depth knowledge about your project
Showed some pictures on agile, asked what you understand from this images. One of the image compared 2 different sdlc models, discussed which is better.
Tip 1 : Study SDLC models, particularly Agile because this is widely used in industry.
This round was with the director of India's division of ION. It was more of a group discussion than an interview. He asked us about our self, something which is not mentioned in the resume. Then this discussion led to some other discussion and so on.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the purpose of the return keyword?