Round 1 (Virtual)
Java HashMap implementation
Two Sum implementation
Follow-up: Print all unique answers in single traversalSQL question (Joins and Order By)
Round 2 (On Site)
Java Stack implementation
Java Queue implementation
SQL question: Find Kth highest employee salary without considering duplicates (DENSE_RANK)
Given a sorted array in asc order where 2 elements are swapped:
Return true if only 2 elements are swapped
Return false if more than 2 elements are misplacedPuzzle: 1000 wine bottles, 10 rats, poisoned bottle question
Difference between exception and error and asked about NoClassDefFoundError and ClassNotFoundExcetion
Round 3 (On Site)
SQL question (NOT IN)
Find your name’s index from a dictionary (name has 5 letters, all unique)
Given 2 strings s1 and s2, check if s2 is a rotated string of s1
Verdict: Rejected
Previous interview experience for oracle:
Round 1 (Virtual)
Reverse linked list in k groups
Verdict: Rejected