Tip 1: Keep your basics strong.
Tip 2: Practice at least 6 problems from Each Topic.
Tip 3: Prepare everything mentioned in your resume.
Tip 1: The resume should have some projects.
Tip 2: Don't put false things in your resume.
Tip 3: Keep your resume one pager and update it.
This round was taken during the daytime by Senior Developer at Oracle. The interviewer was very cool. This round was mainly of Coding Basics and Data Structures and Algorithms.



Step 1: In the first step, we discussed the basic approach using a loop. We will first apply for loop and for each i, we will go from j = 2 to j = i - 1 and check if any i is divisible by any j. If yes then it is not prime and if no then prime.
Step 2: Interviewer told me to optimize the solution.
Step 3: Then I gave Sieves of Eratosthenes solution and the interview was happy.
What are ACID properties in databases and explain in detail about each property.
Tip 1:Read ACID properties in OS thoroughly.
This round was again conducted by the Senior Developer, and he asked for an introduction to the project I am currently working on. After the introduction, he directly jumped into Data Structures problems. He asked me to write code for both problems. One problem was Kadane's algorithm, and the other was related to Trees.



Given an array arr[] of size N. The task is to find the sum of the contiguous subarray within an arr[] with the largest sum.
Step 1:This problem was common so I told him the kadane's algorithm directly.
Step 2: The idea of Kadane’s algorithm is to maintain a variable max_ending_here that stores the maximum sum of contiguous subarray ending at the current index and a variable max_so_far stores the maximum sum of contiguous subarray found so far, every time there is a positive-sum value in max_ending_here compare it with max_so_far and update max_so_far if it is greater than max_so_far.
Step 3: The interviewer was happy with the solution.



Step 1: We first find the LCA of two nodes.
Step 2: Then we find the distance from LCA to two nodes.
Step 3: The time complexity was O(n) so the interviewer was impressed with the solution.
This round was taken by a director-level person. He first asked about the introduction and my current and previous roles. We then discussed in detail my current roles and responsibilities. After that, he gave me to design LLD + HLD of an e-commerce website.
Tip 1:Whenever the interviewer asked the problem I first tried to gather the requirements of all the features we wanted in that system.
Tip 2: Keep these rounds as kind of two-way discussions.
Tip 3: In HLD, my interviewer focussed on the Concurrency part.
This round was again conducted by a Director/Senior Director-level individual. Firstly, he asked for an introduction and inquired about my current and previous roles. We then discussed in detail my current roles and responsibilities. After that, he tasked me with designing the Low-Level Design (LLD) and High-Level Design (HLD) of a Scheduler system.
Design the scheduler system for practice. We have to look for the ways that doctor's ideal time must be reduced and patient's wait time must be reduced.
Tip 1: Try to keep system design rounds two-way.
Tip 2: Always gather requirements first then look for ways to solve them.

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