Tip 1 : Must know the standard algorithms (eg: searching, sorting)
Tip 2 : Practise mock interviews with your friends
Tip 1 : Project with the deployed link and Github link
Tip 2 : Don't put information which is not relevant to the job profile
The online round had 2 coding questions and one question of a regular expression.
We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.
Regular Expression question: Write a regular expression that returns true if the first character of the string is the same as the last character.
Note: The string was made from only 2 characters (a and b)
Tip 1 : You just need to write the regex
First 10 minutes started with the Introduction. Then he asked about my projects. He seemed interested in my projects and asked a lot of questions about them. He asked questions related to Node Js, React Js, Mongo DB, AWS as all these were mentioned in my Resume. Around 25 minutes was completed explaining each and everything.
Then he started with the coding questions. I was allowed to share my screen and use any of my favourite text editors. I chose ‘VS Code’.
I was able to solve 2 coding questions very easily. I got stuck in the puzzle as I didn’t solve any puzzles before. I was able to come up with different approaches, but they weren’t the most optimal. He tried giving me a lot of hints but still wasn’t able to solve it. I had a positive can-do attitude throughout, and I was really close to solving it.
Feedback: He told me I performed well and asked if I had any questions for him. I asked for the solution to the puzzle. He explained to me the solution and I told him that I will practice puzzles.
Around 5-6 students got selected for 2nd Interview.
Consider the array { 1, 1, 0, 2, 0 }.
For the given array the modified array should be {0,0,1,1,2} .
Arrays { 0, 0, 1, 2, 1 } and { 0, 0, 2, 1, 1 } are not the correctly reorganized array even if they have all the zero values pushed to the left as in both the arrays the relative order of non-zero elements is not maintained.
Can you solve the problem in linear time, and constant space?
Input: ARR[] = {3, 5, 10, 15, 17, 12, 9}, K = 4
Output: 62
Then disjoint pairs with the absolute difference less than K are
(3, 5), (10, 12), (15, 17)
So maximum sum which we can get is 3 + 5 + 12 + 10 + 15 + 17 = 62
Note that an alternate way to form disjoint pairs is, (3, 5), (9, 12), (15, 17), but this pairing produces a lesser sum.
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find out their relative speed. At no point, you can find out the actual speed of the horse in a race. Find out how many races are required to get the top 3 horses. (GFG Link:https://www.geeksforgeeks.org/puzzle-9-find-the-fastest-3-horses/)
Tip 1 : Do solve top 50 puzzle problems in GFG
Tip 2 : Try to discuss different approaches with the interviewer
It started with a brief Introduction and in-depth discussions on projects. He also asked me a lot of questions about my previous internship. He asked me some behavioural questions as well.
I was able to solve the question, and he did not ask me any other questions. This round was really short for me and was finished in around 35 minutes, well before time. I asked about my feedback, and he told me that the ‘HR’ will get back to me. I thought he was not satisfied with my answers and I will be rejected though I gave very good answers to every question.
3 students got selected for the next round. I think he was satisfied and did not want to waste more time asking questions.
If the given polynomial equation is “5x ^ 3 + 2x ^ 3 + 6x ^ 4 + 2”. There are two terms of exponent or degree 3 and they are 5x ^ 3 and 2x ^ 3. Both these terms will get added and form 7x ^ 3, so the given polynomial will be simplified as 7x ^ 3 + 6x ^ 4 + 2. Now by arranging the expression in the decreasing order of the degrees, we will have 6x ^ 4 + 7x ^ 3 + 2 and hence the result.
It started with an introduction and discussion on projects. He seemed very curious about my project and went ahead to cross-question every functionality. We discussed everything and how the code works. He asked me a lot of questions on ‘Socket’ as my project mentioned it.
HR-related questions such as:
Why do you want to join the company?
Where do you see yourself in the next 5 years?
What are your strengths and weakness?
Tip 1 : Must have knowledge of javascript to answer this
Tip 1 : Started with callbacks then promises and finally async-await
Tip 1 : Must know about various method to find an error in networking (eg: Simple Parity check,
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you create a function in JavaScript?