Try to be who you actually are in interviews, and don’t try to be over-smart in front of the interviewer, as they know more than you; that’s why they are taking your interview. Also, prepare for Data Structures and Algorithms, and theoretical subjects like Database Management Systems and Object-Oriented Programming, as they are part of many interview questions. I prepared for these using Coding Ninjas notes, which were amazing, easy to understand, and covered almost every topic.
Focus on key projects (major ones) and key courses (such as Data Structures and Algorithms at Coding Ninjas, Certified Ethical Hacker certification, etc.), as they differentiate you from the rest. Just keep applying; off-campus opportunities sometimes take time. So don't worry, it will surely get noticed after some time. Due to my patience, I received two offers off-campus from major companies.
This round consisted of two coding questions. One was related to binary tree and other was of circular linked list.


head = [5 , 4 , 0 , -1]
pos = 2
N = 1
You have to find the node where the cycle begins and return the Nth node from that point in the direction of the head.
Implemented this question in java through recursion, also do handle corner cases like if the tree root is NULL or element is not present in tree.



This is a visualization of the Circular Linked List, represented by:
1 2 3 4 5 -1

The Circular Linked List before/after deletion may happen to be empty. In that case, only print -1.
All integers in the list are unique.
Just used basic linked list deletion by taking care of each and every case.
This was the HR round, and the interviewer asked me basic questions related to hobbies, interests, and other things.
Where did you live and tell me your interested areas?
I simply told him everything related to my interests, and always try to speak the truth as most of the time if you are lying, the interviewer will catch that.
Are you happy with the salary breakup?
I said “ yes ” because the salary was one of the part through which I got attracted to this company.

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