Online test on HackerRank consisted of 3 coding questions. First question was related to sliding window. Second question was related to heap and the third to graphs.
This was a Technical Interview round where I was first asked if I would like to discuss the mistakes that I've made in the coding round and then we had a discussion on the 3rd question which I was unable to solve. I was asked to share my screen and was asked to write code to check if the maximum number of consecutive 1s in a binary string is greater than the number of consecutive 0s. I was given 2 small snippets of code which were related to pointers and we had a discussion on them. I was asked to implement a Hashmap using pseudo code which took a while to build step by step. I was asked a question on trees, to traverse the corners of a tree in a clockwise direction. I was asked if I had any questions for her.
This was a Technical+HR Interview where I was first asked about my work location preference and how college was going on. Then, I was asked what I know about Arista and then the interviewer explained a few more points about what they do. Then, I was shown a snippet of code where array size is small and the input is large. I was asked about the consequences of such a situation. Then, I was asked to write code for adding two numbers where each digit is stored in a node of a linked list. I was given a situation where there are copies of a file in a folder and we have to delete the copies. We had a discussion on how efficiently we can delete them in the file system. I was asked to explain a project in my CV, which was related to Simulation of Heap Memory Allocation. I was asked how my academics were going and then we had a discussion on my roles as TnP Coordinator & Secretary of ACM Club. I was asked if I had any questions for him.
Keep communication clear, make sure the interviewer understands your thinking process. Be prepared with everything you mention on your CV and do not mention things on your CV if you are not confident with it, especially projects and skills. Keep calm, remain confident, and be honest. Don't get tense if you cannot answer any question. The interviewer always helps you by giving hints. Keep working hard with a positive attitude.