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

SDE - 1

Oracle
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
While hunting for my first job, I kept track of every website that posted openings from top companies. In the process, I would apply to about 10-15 job openings a week. One of those was Walmart's, which I came across on Dare to Compete.
Application story
In the beginning, I applied through many online portals like Naukri, LinkedIn, and other sites, but I did not receive any response. Later, I found out that one of my friends works at Oracle, so I applied through his referral.
Why selected/rejected for the role?
I've given all 4 rounds of interviews, but 3rd round, the coding round, I found a little bit difficult compared to the others
Preparation
Duration: 3 months
Topics: Data structures and algorithms, System design, DBMS, Operating system
Tip
Tip

Tip 1 : solve maximum coding questions.
Tip 2 : develop problem-solving skills.
Tip 3 : do some projects.

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

Tip 1 : don't put false things.
Tip 2 : keep your resume short.

Interview rounds

01
Round
Easy
Online Coding Test
Duration30 minutes
Interview date1 Mar 2023
Coding problem2

This is my 1st round; it was held on 1st March 2023 and contained only basic coding questions, which seemed easy for me.

1. Reverse the String

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

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

2. Sort Array

Moderate
15m average time
85% success
0/80
Asked in companies
SprinklrHSBCHCL Technologies

You are given an array consisting of 'N' positive integers where each integer is either 0 or 1 or 2. Your task is to sort the given array in non-decreasing order.

Note :
1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.
Problem approach

1. Initialize a variable to hold the maximum element and set it to the first element in the array.
2. Loop through the array starting at the second element.
3. If the current element is greater than the maximum element, update the maximum element.
4. Return the maximum element.

Try solving now
02
Round
Medium
Online Coding Test
Duration40 minutes
Interview date1 Mar 2023
Coding problem2

This was my 2nd round, and it was also data structures and algorithms questions.

1. Maximum Depth Of A Binary Tree

Easy
15m average time
85% success
0/40
Asked in companies
FacebookWalmartRed Hat

You are given the root node of a binary tree with N nodes, whose nodes have integer values. Your task is to find the maximum depth of the given Binary tree.

Depth of a binary tree is the same as its height. In simpler terms, you have to find the total number of nodes encountered while moving from the root node to the farthest leaf node, along the longest path of the binary tree.

Example:-

example

If we are given the above binary tree as input then moving from root node(5) to the farthest leaf node(50), the path formed will be [ 5->10->25->35->40->45->50 ]. The total number of nodes encountered is 7, therefore the maximum depth of the binary tree is 7.
Problem approach

1. Check if the root node is null, if so, return 0.
2. Recursively, find the maximum depth of the left subtree and right subtree.
3. Return the maximum of the two depths plus one (to account for the root node).

Try solving now

2. Reverse Stack Using Recursion

Easy
21m average time
80% success
0/40
Asked in companies
AmazonNoBrokerIBM

Reverse a given stack of 'N' integers using recursion. You are required to make changes in the input parameter itself.


Note: You are not allowed to use any extra space other than the internal stack space used due to recursion.


Example:
Input: [1,2,3,4,5] 
Output: [5,4,3,2,1]

add image

Try solving now
03
Round
Hard
Online Coding Test
Duration60 minutes
Interview date2 Mar 2023
Coding problem2

This was my 3rd round for me it was tough compared to others. This round contains problem from system design, DBMS, operating system.

1. System Design Question

Design a URL shortening service. (Learn)

Problem approach

1. Define the requirements and constraints of the service.
2. Choose appropriate data storage and retrieval mechanisms.
3. Implement a system to generate unique short URLs for long URLs, and to redirect users from short URLs to long URLs.

2. DBMS Question

Define ACID properties. (Learn)

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 2 problems
Interviewed by Oracle
10595 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Oracle
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 10 problems
Interviewed by Oracle
6765 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Oracle
1691 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes