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

Member of Technical Staff

Oracle
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Start your coding prepration as early as possible. 
Tip 2 : Don't forget to revise important coding questions.
Tip 3 : Be 100% confident on your resume. Make sure you know everything you mentioned on the resume.

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : At least 2 projects
Tip 2 : Resume must be short and crisp

Interview rounds

01
Round
Easy
Face to Face
Duration60 minutes
Interview date10 May 2022
Coding problem2

- Morning time
- Environment was good.
- No
- Interviewer was good

1. Regular Expression Match

Easy
10m average time
90% success
0/40
Asked in companies
HCL TechnologiesAckoAmazon

Given a string ‘str’ and a string ‘pat’. The string s has some wildcard characters i.e ‘?’ and ‘*’.

If any character is a ‘?’ we can replace that character with any other character. 

If a character is a * we can replace * with any sequence of characters including the empty sequence.  

Your task is to determine if it is possible that we can make ‘str' = 'pat’ using appropriate conversions in ‘str’.

For example:
Let str = “abc?" and pat= “abcd”

We return true as ‘?’ can be replaced with ‘d’ and this makes ‘str’ and ‘pat’ same.
Problem approach

s1- I first asked him to give me 2 minutes to think about the approach. 
s2- In those 2 minutes I decided how am I going to explain him my logic and how to start coding. Then I explained him my logic and started coding. While coding I used to think loud and told him why I am using loop or particular variable.

Try solving now

2. Missing and repeating numbers

Moderate
25m average time
75% success
0/80
Asked in companies
Goldman SachsGrowwShareChat

You are given an array of size ‘N’. The elements of the array are in the range from 1 to ‘N’.

Ideally, the array should contain elements from 1 to ‘N’. But due to some miscalculations, there is a number R in the range [1, N] which appears in the array twice and another number M in the range [1, N] which is missing from the array.

Your task is to find the missing number (M) and the repeating number (R).

For example:
Consider an array of size six. The elements of the array are { 6, 4, 3, 5, 5, 1 }. 
The array should contain elements from one to six. Here, 2 is not present and 5 is occurring twice. Thus, 2 is the missing number (M) and 5 is the repeating number (R). 
Follow Up
Can you do this in linear time and constant additional space? 
Problem approach

s1- I summed up the array and then from (n*(n+1)/2).
s2- I subtracted the sum.

Try solving now
02
Round
Medium
Face to Face
Duration60 min
Interview date13 Jul 2022
Coding problem2

- Morning time
- Environment was good.
- No
- Interviewer was good

1. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Problem approach

s1- I used 3 pointers(prev,curr,next) in a while loop to reverse the linked list.
s2- Apply linklist concept

Try solving now

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

s1- I input the array and initialize all the conditions
s2- Take absolute difference between the elements of the array.
s3- first and only line of output contains count of all such pairs which have an absolute difference of K.

Try solving now
03
Round
Medium
HR Round
Duration30 min
Interview date14 Jul 2022
Coding problem1

- Morning time
- Environment was good.
- No
- Interviewer was good

1. 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.
Tip 3; Communicate well

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
Member of Technical Staff
4 rounds | 13 problems
Interviewed by Oracle
5398 views
0 comments
0 upvotes
company logo
Member of Technical Staff
3 rounds | 5 problems
Interviewed by Oracle
1997 views
0 comments
0 upvotes
company logo
Member of Technical Staff
2 rounds | 5 problems
Interviewed by Oracle
1604 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Oracle
1728 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Member of Technical Staff
3 rounds | 10 problems
Interviewed by Adobe
1007 views
0 comments
0 upvotes