Tip 1 : Start your coding prepration as early as possible.
Tip 2 : Don't forget to revise important coding questions.
Tip 3 : Be 100% confident on your resume. Make sure you know everything you mentioned on the resume.
Tip 1 : At least 2 projects
Tip 2 : Resume must be short and crisp
- Morning time
- Environment was good.
- No
- Interviewer was good



If any character is a ‘?’ we can replace that character with any other character.
If a character is a * we can replace * with any sequence of characters including the empty sequence.
Let str = “abc?" and pat= “abcd”
We return true as ‘?’ can be replaced with ‘d’ and this makes ‘str’ and ‘pat’ same.
s1- I first asked him to give me 2 minutes to think about the approach.
s2- In those 2 minutes I decided how am I going to explain him my logic and how to start coding. Then I explained him my logic and started coding. While coding I used to think loud and told him why I am using loop or particular variable.



Consider an array of size six. The elements of the array are { 6, 4, 3, 5, 5, 1 }.
The array should contain elements from one to six. Here, 2 is not present and 5 is occurring twice. Thus, 2 is the missing number (M) and 5 is the repeating number (R).
Can you do this in linear time and constant additional space?
s1- I summed up the array and then from (n*(n+1)/2).
s2- I subtracted the sum.
- Morning time
- Environment was good.
- No
- Interviewer was good



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
s1- I used 3 pointers(prev,curr,next) in a while loop to reverse the linked list.
s2- Apply linklist concept



s1- I input the array and initialize all the conditions
s2- Take absolute difference between the elements of the array.
s3- first and only line of output contains count of all such pairs which have an absolute difference of K.
- Morning time
- Environment was good.
- No
- Interviewer was good
- Asked me about different SDLC processes, Agile vs Waterfall.?
- Also asked questions related to flow of Git : Branches, Merge, Rebase?
- He then asked me some questions about real life implementation of Data structures ?
- Drilled for 20 mins with questions related to projects at a deeper level.?
- Also asked behavioral questions based on project experiences?
Tip 1 : Read SDLC processes, and focus on Agile/Scrum.
Tip 2 : Play with Git and understand how it works.
Tip 3; Communicate well

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?