It was an OnCampus opprotunity.
Round 1: Round 1 was online test. The test consists 7 debugging questions(easy), 2 Coding questions and 25 apti reasoning questions and some Behavioral questions.
Both Coding questions were the Variation of Maximum Average Subtree (LC 1120), instead of Binary Tree, N-Ary tree is given. Remember question was not direct you need to understand the question well.
Got selected after OA.
Interview Round 1: My interview was scheuled at 11 AM. But interviewer doesn't showed up so they told me they will reschedule the interview, At 4 PM they told me to immediately join the link for the Round 1 interview. Such a broken process they have, Anyways, I Joined the Call, the interviewer was already there. He asked some questions related to projects(15 min) and then move to the coding part.
Q1. Given a Linked List consisting of Prime and Non Prime Numbers. Separate them such that prime Numbers appeared at End follow the ordering of elements.
for ex: 1->2->3->4->5 -------> 1->4->2->3->5
Follow up: Merge them Alternately: 1->2->4->3->5
Q2: Populating Next Right Pointers (LC 117).
The Coding section went for 30 min. Solved Both questions by discussing approaches as well as Time and Space Complexity and Coded both Solutions.
Last 10 min-> I asked interviewer about Amazon Leadership's principles and culture.
Got Rejected:(