Oracle Interview Experience for Applications Engineer Role(2020) - GeeksforGeeks

19 Sep, 2020
Round 1 : Online Test
Online Test : This round had certain sections. In each section, one had to answer the questions in order. We couldn’t skip questions and re-attempt them later. The 4 sections were:
AptitudeDSA concepts : AVL Tree Rotations , BST TraversalsCS courses concepts such as OS, DBMS, OOPEnglish
Aptitude
DSA concepts : AVL Tree Rotations , BST Traversals
CS courses concepts such as OS, DBMS, OOP
English
Round 2 : Technical Round (Due to coronavirus lockdown, the interviews were held on Zoom)
The interviewer asked to give an intro about myself, went through my resume. And asked me to brief about my projects.  
He asked me basic questions regarding web development, network protocols.
Then he asked me two coding questions:
1.In a class having n students. Assume one student is missing while teacher is taking attendance. Find the missing students roll number. Assume roll no is in range 1 to n.
This is similar to Find missing element in an array which has values in range 1 to n. (using XOR)
https://www.geeksforgeeks.org/find-the-missing-number/
2. Merge n sorted linked lists( may contain duplicates)
https://www.geeksforgeeks.org/merge-k-sorted-linked-lists/
Questions
Explain Abstraction, EncapsulationDifference between hash set and setDifference between array and lists
Explain Abstraction, Encapsulation
Difference between hash set and set
Difference between array and lists
Round 3: Technical Round
Coding questions:
1. Find the square root of a number n. If not a perfect square find floor( no predefined functions can be used)
https://www.geeksforgeeks.org/square-root-of-an-integer/  
2. N players are playing chinese whisper. 1st person always hears the correct message. But when the message reaches the nth player it might get corrupted. So we ask all the players to list out what they heard at the end of the game. Find the number of faulty players.
Assume player 1 hears value given at index 0
The player is faulty if either they misheard it or they passed the wrong message
So when a miscommunication happens between player1(p1) and player2(p2) happens. There are 2 possible cases:
CASE 1: p1 – said correctly , p2 – heard incorrectly
CASE 2: p1 – said incorrectly , p2 – heard correctly
But since we don’t know which of the 2 happened. We consider the 2 possible cases ie both p1 and p2 are guilty.
Input : 1 1 1 2 2 3 3 3 2
Output : 6
Explanation : Players 3 , 4 , 5, 6 , 8 , 9 are guilty
Input: 1 1 1 2 2 3 2 3 2
Output: 7
Explanation : Players 3 , 4 , 5, 6 ,7 ,  8 , 9 are guilty
Solution:
Python3
players = [1, 1, 1, 2, 2, 3, 2, 3 ,2]faulty = 0n = len(players)for i in range(1,n):      if players[i] != players[i-1] :        if i-2 >=0 and players[i-1]  != players[i-2]: #if already player[i-1] was faulty            faulty += 1        else:            faulty += 2print(faulty)
SQL queries:
Given an employee table with id and their email. Find the duplicate email ids.
SELECT email FROM employee
GROUP BY email HAVING COUNT(*) > 1
https://chartio.com/learn/databases/how-to-find-duplicate-values-in-a-sql-table/
Questions
Run time PolymorphismDangling Pointers
Run time Polymorphism
Dangling Pointers
The interviewer will try to give you hints. Try to stay calm and focus.
Round 4 : Technical + HR Round
The interviewer asked me about my Previous Internship Experience.
Coding questions:
A string is valid if it has string has  ‘T’ , ‘R’ , ‘U’ , ‘E’ characters in the same order. Any character can appear any number of times consecutively
Valid string : “TTTRRUEEE” , “TRUUUE”
Invalid string :”TRUETT” , “TRTUTE” , “TRUEEEER” ,”TRRRR” ,”RRUE”
One Java output Question regarding array list
Some typical HR questions.
Verdict : Not Selected
Marketing
Oracle
Interview Experiences
Oracle
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Amazon Interview Experience for SDE-1 (Off-Campus)
Amazon AWS Interview Experience for SDE-1
Difference between ANN, CNN and RNN
Amazon Interview Experience for SDE-1 (Off-Campus) 2022
Amazon Interview Experience
Amazon Interview Experience for SDE-1
Amazon Interview Experience (Off-Campus) 2022
Freshworks/Freshdesk Interview Experience for Software Developer (On-Campus)
JPMorgan Chase & Co. Code for Good Internship Interview Experience 2021
EPAM Interview Experience (Off-Campus)