Oracle interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Oracle
upvote
share-icon
5 rounds | 13 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, SQL, Java DS, OOPS
Tip
Tip

Tip 1 : Get OOPS concepts very clear.
Tip 2 : Practice DSA upto medium level (Leetcode-medium)
Tip 3 : Learn concepts behind Data Structures like BST, AVL trees, Graphs.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Include personal projects (atleast 2)
Tip 2 : Write Skills section in the order of highest proficiency on top.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration100 minutes
Interview date2 Nov 2020
Coding problem3

The environment was proctored and user-friendly.

1. DBMS Question

Matching DDL, DML, DCL, TCL commands with examples.
ColA:
A) DDL
B) DML,
C) DCL,
D) TCL

ColB: 
1) GRANT, REVOKE
2) UPDATE, DELETE, MERGE
3) COMMIT, ROLLBACK
4) TRUNCATE, COMMENT, RENAME, DROP

2. DS Question

Given a tree, and below structure, choose the appropriate array representation.
A
/ \
B C
/ \ \ 
D E F 
/
H

struct node{
string data;
struct node* left, right;




Options: 
1) DBGEAHFCA
2) ABCDE_F_ _G_ _ _H
3) ABCDEFGH
4) Given tree cannot be represented in an array.

Problem approach

Tip 1 : Be familiar with Trees.
Tip 2 : Be familiar with array representation of trees

3. Technical Questions

Small Problems based on code-snippets and expected outputs, and debugging.

Problem approach

Tip 1 : Practice basic coding well.
Tip 2 : Practice Understanding flow of code

02
Round
Hard
Online Coding Interview
Duration60 Minutes
Interview date2 Nov 2020
Coding problem2

Environment same as prev round.
Timing (morning)

1. Word Search - l

Moderate
30m average time
60% success
0/80
Asked in companies
OlaGoldman SachsIBM

You are given a 2D board('N' rows and 'M' columns) of characters and a string 'word'.


Your task is to return true if the given word exists in the grid, else return false. The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontally or vertically neighboring.


Note:
The same letter cell should not be used more than once.
For Example:
For a given word “design” and the given 2D board 
[[q’, ‘v’, ‘m’, ‘h’],
 [‘d’, ‘e’, ‘s’, ‘i’],
 [‘d’, ‘g’, ‘f’, ‘g’],
 [‘e’, ‘c’, ‘p’, ‘n’]]

The word design can be formed by sequentially adjacent cells as shown by the highlighted color in the 2nd row and last column.

board

Try solving now

2. Maximum Distance

Moderate
15m average time
80% success
0/80
Asked in companies
MakeMyTripOracleGoogle inc

You have been given an array 'A' of N integers. You need to find the maximum value of j - i subjected to the constraint of A[i] <= A[j], where ‘i’ and ‘j’ are the indices of the array.

For example :
If 'A' = {3, 5, 4, 1}

then the output will be 2.
Maximum value occurs for the pair (3, 4)
Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date4 Nov 2020
Coding problem3

Was a zoom meeting in the morning.

1. All substrings

Easy
0/40
Asked in company
Oracle

For a given input string(str), write a function to print all the possible substrings.

Substring
A substring is a contiguous sequence of characters within a string. 
Example: "cod" is a substring of "coding". Whereas "cdng" is not as the characters taken are not contiguous
Try solving now

2. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
SAP LabsWalmartFacebook

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Try solving now

3. Technical Questions

- Discussion about SQL, and MongoDB
- Discussion about the idea behind Binary Search technique, and where all it seems like it is applicable, but not actually applicable.

Problem approach

Tip 1 : Give a read through important topics from SQL, and DSA

04
Round
Medium
Video Call
Duration60 Minutes
Interview date3 Nov 2020
Coding problem3

Interviewer was friendly.
Was taken by a Software engineer at a higher role. Probably a SDM.
and meeting was in the afternoon

1. OOPS Questions

Alot of drilling on OOPs questions like:
- Briefly explain OOPs concepts (All 4)
- Difference between Runtime and compile-time polymorphism.
- What's an Interface? Where and why it's used?
- Difference between Interface and Abstract Class
- Can we define methods in Interface in Java? I said "yes" , he asked more details about it like which version and how to do it.

Problem approach

Tip 1 : Understand deeply what are OOPs concepts, and why are they used.
Tip 2 : Be familiar with one OOPS based language as they ask examples.

2. Pairs with difference K

Moderate
0/80
Asked in companies
Goldman SachsOraclePhonePe

You are given with an array of integers and an integer K. You have to find and print the count of all such pairs which have difference K.

Note: Take absolute difference between the elements of the array.

Problem approach

He accepted the brute force solution and asked to use some DS to make it better.
I have him HashSet, and HashMap based approaches. He was satisfied with it.
But I asked him that I can improve the complexity and told the optimised solution. This made a good impression on him and he didn't ask me anymore coding questions,

Try solving now

3. SQL Questions

3 questions related to queries.
One was about AGGREGATE functions(like MAX, AVG, FIRST, LAST) and the two other ones were about JOINS(Left, right, full outer and all)

Problem approach

Tip 1 : Practice SQL queries (with Aggregate and Joins)

05
Round
Hard
Video Call
Duration60 Minutes
Interview date3 Nov 2020
Coding problem2

This was a Managerial Round : 
Though it was a Managerial round, half of it was again Technical and was asked by a Director level Manager. (The hiring Manager)

1. Basic HR Questions

Some questions on HR level, as "Where do you see yourself in 5 yrs?", "Would you be interested more in Managerial side or technical side after few years?", etc.

2. Technical Questions

Asked me about different SDLC processes, Agile vs Waterfall.
Also asked questions related to flow of Git : Branches, Merge, Rebase
He then asked me some questions about real life implementation of Data structures 

Drilled for 20 mins with questions related to projects at a deeper level.
Also asked behavioral questions based on project experiences.
 

Problem approach

Tip 1 : Read SDLC processes, and focus on Agile/Scrum.
Tip 2 : Play with Git and understand how it works.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Oracle
2032 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Oracle
1351 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Oracle
0 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Oracle
1103 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes