Tip 1 : Practice makes you perfect so try to practice at least 5 questions every day.
Tip 2 : Never quit a problem unsolved.
Tip 3 : Do activities such as Meditation and yoga to convert stress into productivity.
Tip 1 : Resume should be short and crisp. It is recommended that we should keep the technical/communication skills we are good at.
Tip 2 : Resume represents you, so please put only realistic skills/intra-communication skills.
My first round of interviews was scheduled for at 17-Aug-2021 10 AM IST. I joined 5 minutes early so that I could test my microphone etc. and other technical issues. Once interviewer joined the interview, a Hackerrank link was shared to me which contained the problem statement. The interviewer was very friendly and helped me to understand the problem statement whenever any help was required. I successfully completed the online coding round and was able to pass all the edge test cases.



Step 1: Unique ArrayList to keep track of substrings (for easy debugging).
Step 2: Set to store letters and check for duplication
Step 3: Initialized two int variables i, j to 0.
Step 4: Initialized a distance variable to keep track of distance between i and j
Step 5: Iterate through the while loop for i and j < string length and if there are no duplicates, widen the window: extend "j" while fixing "i".
Step 6: if there are duplicates, keep removing from the left side "using the i index" till you get rid of that initial letter causing duplication in other words, shorten the window by moving i to right while fixing j
The interview was scheduled on 18-Aug-2021 at 10 AM IST. As usual, I joined 5 minutes early and verified if there are no technical glitches from my end. The interviewer joined on the time and asked about myself.
Then he gave his introduction and about his responsibilities in the company. The interview started and he started asking questions on JAVA/JAVA8, Springboot, and Kubernetes. I was also asked to code for the below implementations.
* Builder Pattern
* Singleton class
* Iterate and employee list and then sort it in ascending order using JAVA8 streams.
#System Design
I was asked to design an Online airline reservation system and after explaining the approach, I was asked the below questions
* What if two users are booking the same seat and that seat is booked by one of them, How we will be disabling the option to other user to book the same seat
* Payment gateway integration
* Concurrency implementation
In Java, the Interviewer asked me the below questions
* Difference between Hashmap and Hashtable.
* Internal Working of Hashtable.
* Implement builder pattern.
* Design a singleton class.
* Design a thread-safe class.
* Features of JAVA 8
* Iterate an employee list and then sort it in ascending order of salary using JAVA 8 streams.
Tip 1: You should be good with language basics.
Tip 2: Always improve. always advance
Interviewer asked me the below questions from the Springboot.
* List all the stereotype annotations.
* Scenario based question based on the annotations such as implementing atomicity for the transactions, Error handling etc.
* Developing a simple REST API and connect with H2 database.
Tip 1: You should have good knowledge of the Springboot framework.
Tip 2: API knowledge comes from coding practice. Have fun by developing APIs. Follow Baeldung for spring boot preparation.
Design a simple online airline reservation system. After the explanation, the Below questions were asked.
* What if two users are booking the same seat and that seat is booked by one of them, How we will be disabling the option to other user to book the same seat
* Payment gateway integration
* Concurrency implementation
Tip 1: Understand System design and read case studies such as Uber etc.
Tip 2: Always take care of Concurrency, Load balancing and caching mechanisms.
Tip 3: Understand SOLID principles.
This interview round was a technical discussion with the Remote manager working from the Singapore location.
* He joined on the time and was very polite and helped during the whole interview.
* He asked me the below questions based on data structure and algorithms.
# Convert Binary Tree to an Array using JAVA.
# Find if the given singly linked list has a cycle and explain the approach. It was a code pair round.



Can you solve this in O(N) time and O(H) space complexity?
Step 1: I started with creating a method with the input as BST node
Step 2: Then I initialized an ArrayList and performed recursions for the below conditions
# if the node's left value is not null then keep adding the elements to the ArrayList.
# if the node's right value is not null then keep adding the elements to the arraylist.
Step 3: Finally, convert the result ArrayList to an array using toArray().



In the given linked list, there is a cycle, hence we return true.

Step 1: Initilaize "fast" and "slow" nodes and assign head to them.
Step 2: If head is null return 0.
Step 3: Iterate using while loop to check if fast != null and fast.next != null
# If true, then slow = slow.next and fast =fast,next.next
# if slow == fast, return 1;
0 = No cycles
1 = Cycles presents.
This interview round was with the Department managers working from the Tokyo location. They joined on the time and asked about me and also they did give their introduction. They were very polite and helping,
They asked the below scenario based questions about Kubernetes such as:
* How to find the root cause if any one of the pods is throwing "Out of Memory" alerts,
* Basic knowledge of Kubernetes.
* How to find the root cause if any one of the pods is throwing "Out of Memory" alerts, (I answered "It can be because Node is running out of resources, Hence we need to increase the CPU and RAM size)
* Basic knowledge of Kubernetes.
Tip 1: Good knowledge of Container orchestration is required.
Tip 2: Learn Kubernetes and practice a lot.
This was a telephonic round with the India manager. HR already informed me that I can expect a call from the India manager. So I got a call from his side at 4 PM IST. He was very polite and it was nice talking with him.
* He asked about me and my technical skills.
* He informed me about the project and the responsibilities I need to serve.
* He did ask me 2 puzzles to check my analytical skills.
# Given 8 balls and 1 balance to compare the weights. Out of 8 balls, 1 ball weighs more than the other 7 balls. How to find that?
# There are two rooms separated by a single door. In one room there are 3 switches, and in another room, there are 3 bulbs, I need to find which switch belongs to which bulb. Condition: We can go only a single time from one room to another room.
Given 8 balls and 1 balance to compare the weights. Out of 8 balls, 1 ball weighs more than the other 7 balls. How to find that?
Tip 1: Take your time and understand the problem and then you can easily solve the analytical problems.
Tip 2: Practice from India bix.
There are two rooms separated by a single door. In one room there are 3 switches, and in another room, there are 3 bulbs, I need to find which switch belongs to which bulb. Condition: We can go only a single time from one room to another room.
Tip 1 : Take your time and understand the problem and then you can easily solve the analytical problems.
Tip 2 : Practice from India bix.
HR round was the final round. It was scheduled at 6 PM IST. So HR joined on time and greeted me and asked me about How I am doing and about my hobbies and interests.
* He asked me about my experience with the interview.
* He discussed the compensation part and joining formalities such as Offer letter generation etc..

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?