Tip 1 : Practice more coding problems on platforms like code studio
Tip 2 : Be confident in the interview and be clear while explaining solutions to the interviewer.
Tip 3 : Prepare for Aptitude and computer subjects
Tip 1 : Try to make it more concise
Tip 2 : Try to add more projects as well as about hackathon.
The first round(online test) comprised of MCQ questions including logical, aptitude, logical, and 2 coding questions. The test duration was 120 minutes. To prepare for sections except for the coding section. The coding questions were of 150 marks:
Question 1 - 100 marks
Question 2 -> 50 marks
A company has n employees, who form a tree hierarchy where each employee has a boss, except for the general director. Your task is to process q queries of the form: who is the lowest common boss of employees a and b in the hierarchy?



The order in which the groups and members of the groups are printed does not matter.
inputStr = {"eat","tea","tan","ate","nat","bat"}
Here {“tea”, “ate”,” eat”} and {“nat”, “tan”} are grouped as anagrams. Since there is no such string in “inputStr” which can be an anagram of “bat”, thus, “bat” will be the only member in its group.
This was L1- Technical Interview which was held on HackerEarth Assessments which had a code editor in which both, I and the interviewer can type. He asked me about my projects and some topics related to it.


1. The grid has 0-based indexing.
2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.



1)The amount of petrol that is available at this particular petrol pump.
2)The distance to reach the next petrol pump.
This round was held on Microsoft Teams with a senior employee at Icertis. This round was very relaxed. The interviewer made me comfortable by asking some simple questions and then moved on to asking about my preferred Data Structure. I told him that, I like arrays the most.



1. Buying a stock and then selling it is called one transaction.
2. You are not allowed to do multiple transactions at the same time. This means you have to sell the stock before buying it again.
Input: ‘n’ = 7, ‘prices’ = [3, 3, 5, 0, 3, 1, 4].
Output: 6
Explanation:
The maximum profit can be earned by:
Transaction 1: Buying the stock on day 4 (price 0) and then selling it on day 5 (price 3).
Transaction 2: Buying the stock on day 6 (price 1) and then selling it on day 6 (price 4).
Total profit earned will be (3 - 0) + ( 4 - 1) = 6.
In a country, all families want a boy. They keep having babies till a boy is born. What is the expected ratio of boys and girls in the country?
This round was basically related to your non-technical skills. It basically talked about my hobbies, work environment, and how the company is helping its employees during CoVid Times.

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