Tip 1 : I was informed about the interview only 3 days prior to it. So, if you find yourself in a position like me, one thing I would mention is to NEVER LEARN ANY NEW TOPICS if you have less than 2 days. Brush up on the topics you already know.
Tip 2 : Practise Time and space Complexities well. Know your basics and practice as many questions as possible on LeetCode.
Tip 3 : Refer to previously asked questions in the interview of the company. Read about the interview process for the role you're applying for. Learn about the role and the company as well.
Tip 4: If you're new to giving interviews, practice mock interviews with your friends or family.
Tip 1 : Keep it to one side
Tip 2 : Only add the things necessary for the role that you're applying for.
Tip 3 : Don't lie in the resume and add projects related to the role.
Tip 4 : Add any volunteering work that you did.
2 hard questions had to be completed in 70 Minutes. we had a time window from 12 pm to 6 pm.
I first used brute force and I got TLE. So, I optimized the code using sliding windows and map and it passed all test cases.
It was an online interview held on google meet. The interviewer shared a question in the beginning of the interview and for the next 45 minutes, we had to brainstorm approaches to solve the quesntion.
I solved using a nested loop that had O(n^2) time complexity. After the interview, I was able to come up with a greedy approach with O(n) time complexity.
It was an online interview held on google meet. The interviewer shared a question in the beginning of the interview and for the next 45 minutes, we had to brainstorm approaches to solve the quesntion.
I was it to figure out that this problem can be solved using a priority queue but I wasn't sure how. After trying different methods the interviewer give me a tip on how to use the priority queue method for this and I was able to grasp the logic for solving the problem.