Tip 1: Actually, I took a week off to prepare.
Tip 2: Revise your theoretical concepts and practice easy and medium-level data structure questions.
Tip 1: I keep my resume in a standard format.
Tip 2: Highlight your skills, as HR primarily looks at your skills for screening. Keep the font size at least 12.
In this the interviewer asked me questions about my current project then he asked 2 problem-solving questions from me.
It was in the evening and the interviewer was good.



Given an array arr[] of size n and an integer X. Find if there’s a triplet in the array that sums up to the given integer X.
I had never come across this question. So, I used a brute force approach to solve this, but that was taking O(n^3) time complexity. Then they asked me to optimize it. I was trying to make it in O(n), but I ended up with O(n^2)



Given a list of tickets, find the itinerary in order using the given list.
Example:
Input:
"Chennai" -> "Banglore"
"Bombay" -> "Delhi"
"Goa" -> "Chennai"
"Delhi" -> "Goa"
Output:
Bombay->Delhi, Delhi->Goa, Goa->Chennai, Chennai->Banglore,
when the interviewer explained to me these questions. I used hashing to solve this question. And I solved it.
What are the benefits of string as immutable?
These are simple theoretical questions, so I answered them. And for the Singleton pattern, they majorly want to listen to the Double locking mechanism.
It was in the afternoon, and the environment was positive. They started with my experience and my current project.



You are given an integer array, filter out this array such that the resulting array would contain only those elements that are not duplicates.
I solved this question by applying for loop, but later on, they asked me to solve it by using Java Streams. There I struggled a little, as I was unsure about using grouping in streams, but later on, I did it with some breakage, I told them I did not recall the exact syntax, but I explained the approach.
It was a managerial and behavioural round in which they asked me about the software lifecycle we are using, and I want to join Amex. Why I am leaving my current company. Why there are 4 switches in my carrier?

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