Tip 1 : Prepare resume in the way in which your resume should talk about yourself rather than explaining your resume to others.( Add a small description for each major projects and features which we worked on)
Tip 2 : Practice competitive coding on regular basis with most optimised way rather than trying to overdo everything in one go. Allocate some time dedicatedly for this.
Tip 3 : Note down the important techniques, areas , topics in a sheet or doc so that they can be helpful during the time of recap.
Tip 4 : Update any job platform profile up to the date and enable open to work option as "show recruiters" or "show to all" as per your requirement so that recruiters can approach you with matching opportunities.
Tip 5 : Approach recruiters directly if you came across any openings so that they can fast track your application.
Tip 1 : Order of resume is very important. Mention your skills and work experience in top 2 sections and add needed short description about the projects which you worked on.
Tip 2 : Clearly add everything which you contributed in your current organisation with some statistics and your role in that. (example : I have pushed out a code change so that the response time for a particular endpoint came down to 1ms from 10ms)
2 coding questions to be solved in 90 mins and can start test anytime within 3-4 days since we received the challenge.

3 tasks and 16 units of total time.
Task = [( 2, 8 ) , ( 4, 5) , ( 5, 1)]
( 2, 8 ) -> task 1 at position 2 in line and takes 8 sec to complete.
( 4, 5) -> task 2 at position 4 in line and takes 5 sec to complete.
( 5, 1) -> task 3 at position 5 in line and takes 1 sec to complete.
Skipping the first task leaves us enough time to complete the other two tasks. Going to the location of the third task and coming back costs 2x5 =10 sec, and performing tasks at locations 4 and 5 cost us 5+1 = 6 sec.
Total time spent will be 10+6=16 sec.
I first solved it using the recursive approach, but the interviewer was not happy. He asked me for any other optimised approach then I thought of Hamiltonian cycle and the interviewer was then satisfied



Input: ‘L’ = ‘1’ , 'R' = ‘3’
Output: 1
As ‘1’ is the only Beautiful Number.
3 is not Beautiful as,
3 -> 9
9 -> 81
81 -> 65
65 -> 61 … and so on
It can be shown that we cannot get 1.
There is an optimal solution where we travel from 0 to some coordinate x and back, greedily choosing tasks in the interval [0, x] from shortest to longest.
There might be a dynamic programming solution, but it's not what I would reach for first. Rather, I'd use a sweep-line algorithm that increases x from 0 to T/2, maintaining an optimal solution. When x passes l[i], we add task i to the agenda. Whenever the current agenda uses too much time, we drop the longest task.
This is a DSA round. As the expectation of the round is to test your knowledge, finish your self intro within 3 minutes so that interviewer can ask few more questions so that he/she can evaluate you even better.



Can you solve each query in O(logN) ?
As the problem statement does not mention to do binary search directly. Understanding the problem statement is very important and should listen properly what the interviewer was expecting.
Next discuss the approach and solution with the interviewer before going for actual coding. Perform a dry run if confident.
How can we ensure backward compatibility while doing any changes in any API.
Tip 1 : Explain all the approaches that you have in your mind.
Tip 2 : Ensure that interviewer understands your answer clearly rather than going at your pace.



Assume that the Indexing for the linked list always starts from 0.
If the position is greater than or equal to the length of the linked list, you should return the same linked list without any change.
The following images depict how the deletion has been performed.


As this question is some what different to what we do regularly, invest some time in thinking this and explain your approach to the recruiter properly.
As in this case we have only the node to be deleted, we can find next node and then swap the next node value to the previous node and then delete the next node which is most optimised solution.



If the given array is: [0, 0, 1, 0, 1] The largest subarray would be: [0, 1, 0, 1] (last 4 elements) having length 4.
Take some time to think about the solution here because the expectation is to solve the problem in optimised way.
Discuss your every solution which you thought to your interviewer and engage the interviewer in your thinking process.
Perform a dry run for the final approach which you thought of so that interviewer can trust your solution even though your code doesn't execute.
DSA round 2. If we clear this round we will be mapped to system design round, else we may need to take another round of DSA and problem solving.



Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.
2. Open brackets must be closed in the correct order.
()()()() is a valid parentheses.
)()()( is not a valid parentheses.
As the problem suggests, form a proper data structure so that your solution becomes easy to write.
Explain your approach to the interviewer properly and ensure if the interviewer was satisfied with the solution you provided.



An array ‘B’ is a subarray of an array ‘A’ if ‘B’ that can be obtained by deletion of, several elements(possibly none) from the start of ‘A’ and several elements(possibly none) from the end of ‘A’.
Expectation is to write code with better time and space complexity than writing the code in brute force approach.
Take time and involve the interviewer in your design so that he/she can get or understand your thought process.



• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees.

Level 1:
All the nodes in the left subtree of 4 (2, 1, 3) are smaller
than 4, all the nodes in the right subtree of the 4 (5) are
larger than 4.
Level 2 :
For node 2:
All the nodes in the left subtree of 2 (1) are smaller than
2, all the nodes in the right subtree of the 2 (3) are larger than 2.
For node 5:
The left and right subtrees for node 5 are empty.
Level 3:
For node 1:
The left and right subtrees for node 1 are empty.
For node 3:
The left and right subtrees for node 3 are empty.
Because all the nodes follow the property of a binary search tree, the above tree is a binary search tree.
As this problem can be solved with various approaches, consider the solution with the O(1) space complexity as it was clearly mentioned in the requirements.
Share other solutions as well if your interviewer agrees
Initially interviewer went thorough the resume and asked Technical Questions on any selected project in resume.
System design for movie reservation system (LLD) ,requirement gathering ,DB schema design, APIs that need to be used.
Tip 1 : Understand the requirements first. List down all requirements in any editor.
Tip 2 : After analysing the requirements form entities and DB schema accordingly.
Tip 3 : Follow naming conventions and describe appropriate data types for the entities.
Optimising given SQL queries and DB locks like select on update etc
Tip 1 : Understand the problem statement and then try to use various techniques to optimise the SQL queries.
Tip 2 : Discuss all the approaches which hit your mind to the recruiter, make the interview engaging.
Tip 1 : Revise all java concepts and explain with a example for every concept rather than explaining the core definition.
Tip 2 : Clearly say if you are not aware of the particular concept (if not known), interviewer will replace that with other good question.
Hiring manager round (Behavioural questions)
Current company and CTC.
Reason for job change.
Questions on projects in resume.
Questions on cloud providers like AWS, GCP etc…
And other questions like process followed while given a task.
Questions on open with full stack areas and discussion of FE work which was done.
Tip 1 : Reply with confidence
Tip 2 : Stay honest. Don't fake anything

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