Tip 1 : Focus on the quality of questions and not the quantity.
Tip 2 : Try to solve problems daily and consistently.
Tip 3 : Have good hands on the computer science fundamentals.
Tip 1 : Have good projects on your resume.
Tip 2 : Have an in-depth idea of fundamentals and the data structures.



A string ‘B’ is a substring of a string ‘A’ if ‘B’ that can be obtained by deletion of, several characters(possibly none) from the start of ‘A’ and several characters(possibly none) from the end of ‘A’.
Two strings ‘X’ and ‘Y’ are considered different if there is at least one index ‘i’ such that the character of ‘X’ at index ‘i’ is different from the character of ‘Y’ at index ‘i’(X[i]!=Y[i]).
I tried to generate all the substrings and store them in the trie along with their creation. If a substring already exists in the trie, we can ignore it; otherwise, we can make an entry and increase the count. Let’s see a detailed explanation.
It was the technical round.
Ishita has 10 bags full of coins. Each bag contains 1000 coins. However, one bag is filled with forgeries, and she cannot remember which one it is. She does know that genuine coins weigh 1 gram, but forgeries weigh 1.1 grams. To conceal the fact that she cannot remember which bag contains forgeries, she needs your help. How can she identify the bag with the forgeries with just one weighing?
Tip 1 : Read the puzzle thoroughly.
Tip 2 : Try to ask questions.
Tip 3 : Provide an elucidating explanation.



Input: 'a' = [7, 12, 1, 20]
Output: NGE = [12, 20, 20, -1]
Explanation: For the given array,
- The next greater element for 7 is 12.
- The next greater element for 12 is 20.
- The next greater element for 1 is 20.
- There is no greater element for 20 on the right side. So we consider NGE as -1.
Firstly, we discussed the brute force method using two for loops to check for every element and find the next greater element. The optimized approach involved using a stack to store indices, which allows retrieval of the next greater element in O(n) time complexity.
It was a case study round.
You are a cab sharing startup in the US. All your customers pay through credit cards and have active internet connections.
Four questions followed -
I. Tabular data containing features such as percentage of paved roads, number of people having credit cards, number of people having internet connection, population density, per capita income, etc. of some countries. Which country to expand to?
II. What are the factors that heavily affect your expansion in a new country, explain.
III. What major cost components are involved in a cab-sharing startup such as yours?
IV. Tabular data showing features of each of urban, suburban and rural areas. Determine which area you should expand to and justify your answer.
Tip 1 : Read the case study properly.
Tip 2 : Do ask questions whenever required.
Tip 3 : Present the answer in a concise manner.
It was an HR Round.
Tell me about yourself
Why would you want to join our company?
Where do you see yourself in 5 years?
Tip 1 : Be very sound with communication skills.
Tip 2 : Have a smile to have a good impression.
Tip 3 : Listen to the interviewer and then only answer.
It was a country fit/ HR Round
Your views on the increase in the use of AI and what will be its long-term effect?
It was a Future Fit Round.
Why did I use Mongo?
Why React?
What problems I had faced during project making?
How did you managed working in team during project making?
Tip 1 : Being thorough with the resume
Tip 2 : Revision of the Projects
Tip 3 : Revise commonly asked HR questions.

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