Oracle Interview Experience for Applications Engineer Role(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:

  1. Aptitude
  2. DSA concepts : AVL Tree Rotations , BST Traversals
  3. CS courses concepts such as OS, DBMS, OOP
  4. 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

  1. Explain Abstraction, Encapsulation
  2. Difference between hash set and set
  3. 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

filter_none

edit
close

play_arrow

link
brightness_4
code

players = [1, 1, 1, 2, 2, 3, 2, 3 ,2]
faulty = 0
n = 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 += 2
print(faulty)

chevron_right


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

  1. Run time Polymorphism
  2. 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


Write your Interview Experience or mail it to contribute@geeksforgeeks.org




My Personal Notes arrow_drop_up

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.