Tip 1: Focus on the basics.
Tip 2: Daily practice Data Structure and Algorithms.
Tip 3: Build Project
Tip 1: Don't put false things and don’t lie.
Tip 2: Don’t copy projects from youtube instead build your own projects.
The interview was around 11 PM. The interview was not that much difficult but out of 4 I gave 2 correct answers and 1 was partially correct. The interviewer was also cool.



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
First I told my approach with 2 for loops and complexity was N*2. Then he asked me to optimise. So I came up with two pointer approach which was correct.
He gave me 4 different async await conditions. Showed some dummy data which was API response and asked me what will be the output in these cases and also asked whether these questions are valid or not.
2 questions were really easy. 1 was moderate and 1 was hard. I verbally told him about possible outcomes. Out of 4, 2.5 were correct.
He showed some 2-3 CSS classes with styles in those classes and asked how will element look after adding these classes.
Those were really easy questions. Just styling text or background colour. 1 question was moderate.
For the first 15 minutes, he asked my personal information. He was the VP of the company and was really friendly and cool.
He gave me one open API which returned a list of countries and asked me to fetch data and show random 10 countries in react.
I fetch countries using javascript fetch and then I was not able to figure out how to generate random numbers between 1 to 10 to show random 10 countries. He told me that I can google this. So I googled that and completed the task.

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