Tip 1 : Practice DSA well.
Tip 2 : Be aware of OOPs concept and basics of LLD.
Tip 1: Mention tech stacks and relevant projects.
Tip 2: Do not lie.



Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be inserted in order. You must write an algorithm with an O(log n) runtime complexity.
1) Explained the brute force approach.
2) Optimized it using binary search.



Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s.
1) Implement a helper function to check whether a given substring is a palindrome by comparing characters from both ends.
2) Use a recursive function to generate all possible partitions starting from a given index.
For each possible end index, check whether the substring from the start index to the end index is a palindrome.
If it is, recursively partition the remaining string and combine the results.
3) For each valid partition, combine the current palindrome substring with the results of the recursive calls.
Design database design for Amazon shopping cart. Interviewer told me to come up with different DB schemas and relations among them.
Tip 1: Start by identifying the user's requirements.
Tip 2: Ask the interviewer if there are any assumptions or clarifications.
Tip 3: Always provide reasons for choosing a specific approach, such as its pros and cons.
Tip 4: There are no perfectly right or wrong answers in design rounds, so treat it as a discussion and aim to come up with the best approach based on the given constraints and requirements.
This was the HM round, taken by the manager of the team which I would join.
He asked me to explain my previous company project. He was interested in lld and hld concepts which were involved in the project.
Questions:
1) Explain the project?
2) Why used SQL over NoSQL? (Learn)
3) SQL v/s NoSQL? (Learn)
4) Explain design patterns used for this project.
5) How many design patterns do you know and which ones did you use in real projects?
Tip 1: Go through your resume once before the interview.
Tip 2: Prepare at least one project that you can explain to the interviewer in detail.
Tell me about yourself.
Why are switching so early?
Tip 1: Told them the reasons to justify myself.
Tell me about the most challenging project.
Are you ready to relocate to Bengaluru?

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