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

Senior Software Engineer

Oracle
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, System Design, OOPS, Node.JS concepts
Tip
Tip

Tip 1 : Practice first 50 questions from Leetcode
Tip 2 : Have your programming concepts on tips
Tip 3 : Watch System Design tutorial

Application process
Where: Linkedin
Eligibility: Nothing
Resume Tip
Resume tip

Tip 1: Add only those skills on which you are perfect at.

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date11 Mar 2022
Coding problem2

This was a coding round in which 2 coding questions were given.
The first question was a medium question of Arrays and algorithms and the 2nd question was a hard based on Linked List.
Total 40-45 minutes were given to solve both the question. At last the interviewer asked about my previous projects which I have worked on.

1. Subarray With Given Sum

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

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Problem approach

Create a map to store a key-value pair, i.e, key = prefix sum and value = its index, and a variable to store the current sum and the sum of the subarray as s.
Traverse through the array from start to end.
For every element update the sum, i.e sum = sum + array[i]
If the sum is equal to s then print that the subarray with the given sum is from 0 to i
If there is any key in the map which is equal to sum – s then print that the subarray with the given sum is from m[sum – s] to i
Put the sum and index in the map as a key-value pair.

Try solving now

2. Reverse Nodes in k-Group

Hard
56m average time
30% success
0/120
Asked in companies
SAP LabsHikeAdobe

You are given a Singly Linked List of integers and an integer array 'B' of size 'N'. Each element in the array 'B' represents a block size. Modify the linked list by reversing the nodes in each block whose sizes are given by the array 'B'.

Note:
1. If you encounter a situation when 'B[i]' is greater than the number of remaining nodes in the list, then simply reverse the remaining nodes as a block and ignore all the block sizes from 'B[i]'. 

2. All block sizes are contiguous i.e. suppose that block 'B[i]' ends at a node cur, then the block 'B[i+1]' starts from the node just after the node cur.
Example
Linked list: 1->2->3->4->5
Array B: 3 3 5

Output: 3->2->1->5->4

We reverse the first block of size 3 and then move to block 2. Now, since the number of nodes remaining in the list (2) is less than the block size (3), we reverse the remaining nodes (4 and 5) as a block and ignore all the block sizes that follow.
Problem approach

In this method we need to traverse the list only once in the worst case. The algorithm makes used of the idea to reverse a normal linked list.

1.Traverse the list and get the pointer to the mth node.
2.Reverse the list from mth node till the end of the linked list.
3. Connect back the links properly.

After this, I also told about the other method that is to store the elements in the stack after the mth node and den Pop back and connect the links properly.

Try solving now
02
Round
Easy
Video Call
Duration70 Minutes
Interview date15 Aug 2022
Coding problem1

This round was based on the System Design principles where the interviewer asked to design a problem and implement the same through coding.
The interviewer also expected few of the unit tests to be written after Is solved the problem.
The whole discussion went for 60-70 minutes

1. System Design Question

Design and Implement the Tic Tac Toe Game.

Problem approach

Tip 1: Be very clear with the requirements needed.
Tip 2: Think about what all classes and variables are required.
Tip 3: Dry run your code with all the possible cases.

03
Round
Medium
Video Call
Duration60 minutes
Interview date18 Aug 2022
Coding problem1

This round was more of a discussion round where the interviewer gave me a scenerio and a feature to be implemented in one famous app so as to solve the proeblem.

1. System Design Question

Implement a feature so as to get and verify the vaccination status in the Arogya Setu App.

Problem approach

Tip 1: Write down all the classes needed to solve the problem
Tip 2: Clear all the doubts and ask for all the requirements

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
SDE - 1
3 rounds | 2 problems
Interviewed by Oracle
10748 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Oracle
0 views
0 comments
0 upvotes
company logo
Application Developer
3 rounds | 4 problems
Interviewed by Oracle
1840 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Oracle
3010 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 3 problems
Interviewed by Intuit
3023 views
1 comments
0 upvotes
company logo
Senior Software Engineer
5 rounds | 5 problems
Interviewed by PhonePe
2643 views
0 comments
0 upvotes
company logo
Senior Software Engineer
4 rounds | 4 problems
Interviewed by Walmart
7660 views
1 comments
0 upvotes