Tip 1 : Be very focussed on solving some good problems each day, it will make your mind sharper
Tip 2 : Don't hopeless in interview as it only degrades your performance.
Tip 3 : DSA, atleast 1 good major projects are key for any SDE interview
Tip 1: Only Mention those experiences and tech stacks that u own
Tip 2: Try to give good information about projects and make it berief so that it can fit in 1 page resume.
It consisted of 9 mcqs and two coding problems
1)The amount of petrol that is available at this particular petrol pump.
2)The distance to reach the next petrol pump.
It is greedy problem, so it was easy to solve by first calculating the sum of gas and sum of cost from all stations. and then I run a loop to check at any point if gas[i] < cost[i] with it's previous total too then we had to shift the index to i+1.
It is possible for Mr. X to rob the same amount of money by looting two different sets of houses. Just print the maximum possible robbed amount, irrespective of sets of houses robbed.
(i) Given the input array arr[] = {2, 3, 2} the output will be 3 because Mr X cannot rob house 1 (money = 2) and then rob house 3 (money = 2), because they are adjacent houses. So, he’ll rob only house 2 (money = 3)
(ii) Given the input array arr[] = {1, 2, 3, 1} the output will be 4 because Mr X rob house 1 (money = 1) and then rob house 3 (money = 3).
(iii) Given the input array arr[] = {0} the output will be 0 because Mr. X has got nothing to rob.
It was done using DP on tree technique to save the answer by considering node and nonconsidering node at each node level for future.
It consisted of 1 system design (LLD) question and 1 coding question along with some questions from my resume.
Inteviewer asked me to design car rental LowLevel Design.
Tip 1: Don't jump to make classes before clarifying all the requirements from interviewer.
Tip 2: Don't write full Working code if not asked as it only demands how u make relationships and understand the objects and their functionalities mainly.
Tip 3: Be calm and think wisely bottom up manner
what is normalization, gave one example of whether it's in BCNF form or not.
Tip 1: Check delegantly start from 1st to top
Tip 2: listen interviewer carefully
Tip 3: have good grasp of these Questions on normalization
It was managerial round he asked majorly on topics from my resume and one puzzle too.
2 eggs and 100 floors puzzle
Tip 1: think brute force first
Tip 2: Binary search was one of the approach
Tip 3: we start trying from 14'th floor. If Egg breaks on 14th floor
we one by one try remaining 13 floors, starting from 1st floor if egg doesn't break
It was problem based on my project Social site and exam portal. He asked how can u make site scalable by choosing right database for your app and functionality about that project too.
Tip 1: start telling about your major project first and try to make him understand each thing.
HR asked about some HR questions mainly.
Why you want to join this company?
Tip 1: U can tell about your future aim matching with that company.
What are your future plans.?
Tip 1: Don't tell that u might go for MS or masters.
Tell me something about Apple company u know.
Tip 1: u can research it on google. for it's upcoming products too.
How many questions u were able to solve in 1st coding round and what were the coding problems asking about can u give brief about that?
Tip 1: U must know what have u done correctly.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you write a single-line comment in C++?