Tip 1: Develop impactful projects and thoroughly understand them.
Tip 2: Craft a concise and compelling resume, highlighting key skills and achievements.
Tip 3: Practice your skills consistently and maintain confidence in your abilities.
Tip 1: Include impactful projects in your portfolio.
Tip 2: Keep your resume short and crisp.
It was an online 60-minute Hackerrank test. There were few MCQ questions and 2 coding questions.



Given an array of integers (0, 1, 2). Sort this array without using the in-built sort function.
The problem statement was quite clear. We are given an array of integers (0, 1, 2) arranged in some random order. We need to sort it but we can't use in-built functions for this.
So any sorting algorithm could be used to sort this array.
I used Insertion sort to sort this array.
It was an online technical round majorly focusing on experience and technical knowledge test. The major focus was on internship experience, projects and DSA/problem-solving. The interviewer asked me to introduce myself. Following which she asked me about my internship experience, projects and then a small discussion regarding my internship.



Given an array of integers, return the top K frequent elements.Example, nums = [1,1,1,2,2,3], k = 2So in this the top 2 frequent elements are 1 and 2, hence Output: [1,2]
I solved this question first using a Map. So, I used a map to store the frequency of each element in the array. Then, I ran a loop from 0 to k, and inside this loop, I retrieved the most frequent element from the map each time and deleted it from the map. This way, I obtained the K most frequent elements. However, since this approach had high time complexity, the interviewer asked me to optimize it.
To optimize it, I used a priority queue and a map together. I used the map to store each element and its frequency, and I used a priority queue to store the element-frequency pairs (Max-Heap). The element with the maximum frequency is at the root of the priority queue. I removed the top or root of the priority queue K times and printed the element.
It was an HR Round where a senior HR majorly discussed about my education, my hobbies, projects (challenges I faced in them), and my internship experience where she asked me the most difficult time and how I came through it. She also described to me the job role and the salary structure and some Company and HR policies.
Tell me about yourself.
What are your hobbies?
Tell me about your internship experience.

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