Tip 1 : Practice at least easy and medium questions from coding platforms under Top Interview Questions.
Tip 2 : Don't learn each and every question you solved but try to solve questions in a way that you can solve its variation during interviews.
Tip 3 : Do one project (one is enough) which you can explain with full technical details (why you used this technology, and all logic you applied in implementation).
Tip 4: At least read the Round 1 (Coding Round) archives from online platforms to prepare your mind for the types of questions that companies usually ask. (The Coding Round is the toughest step in the whole process to clear).
Tip 1: Have at least one project that you have created yourself, and ensure you know all the technical questions related to that project. (I feel the project domain hardly matters, whether it is web development, Android, or ML/AI.)
Tip 2: Only include the skills on your resume that are required by the company. For example, if you know the company does not require networking domain knowledge, do not include it unnecessarily, especially if you are not very confident in it. For on-campus internships, resume shortlisting is very easy, so avoid adding anything unnecessary that might cause you trouble during the interview.
There were 3 coding questions in this round. It was conducted from 1:30 to 3:00 pm. The coding platform was very good, with auto-indentation and auto-completion of brackets. Having the camera on was required.



It was an easy question:
First take a sum variable (to store final answer) and initialize it with 0.
Take a temp and store X/Y in it and add it to sum then apply a loop and check:
if temp < Z return the sum
else add temp/Z to sum and update temp to temp/Z and continue the process.


Then given queries are in the form of a stream (they are sequential), so they should be processed in the given order. That is: you should not solve them offline by iterating through the back or by iterating in any other order.
If N = 4 , K = 2 and Queries = { 1, “a,” 30 }, { 1, “b,” 20 } , { 1, “a,” 10 } , { 1, “c,” 100 } , { 2 }
There is a query of type-2 after processing four queries of type-1.
Then we can sell in the possible ways:
Sell “a” and “b” and collect 10 + 20 = 30.
Sell “b” and “c” and collect 20 + 100 = 120.
Sell “a” and “c” and collect 10 + 100 = 110.
Therefore we can collect a maximum of 120. Note that “a” is being sold at 10 and not 30 because the last updated price in the stream for “a” was 10.
First, I found that this can easily be done using the brute-force approach of taking a hashmap to store all the numbers (from the minimum value in the input range to the maximum value in the input range) with their frequency of appearance. Then, I will run a loop for each query range and output the values that are greater than kkk. In this solution, 50% of the test cases give TLE.
Then I realized that I need not run the loop for every range. Instead, I should use an array of size 100,000 and:



For the given binary tree [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
1
/ \
2 3
/ \
4 5
Output: 1 3 2 4 5
It was held on the Gmeet platform. The interviewer was a very experienced person and was very nice as well. He made me comfortable by first introducing himself in a detailed manner and then asking for my introduction. Since I felt that his internet connection was not very good, he turned off his camera. However, I decided not to turn off mine, as in online interviews, your face reveals your confidence.
Tip 1: The HR person is generally very experienced, so never tell them anything false just to impress them.
Tip 2: Include only the points in your introduction that you want to discuss further.
Tip 3: Show interest in your growth, the work they are offering, and how they can help you build your skills better.

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?