i
Oracle
Filter interviews by
My favorite code is the Fibonacci sequence generator.
Efficiently generates Fibonacci numbers
Uses recursion or iteration
Can be implemented in various programming languages
A generic swap function swaps two values of any data type.
The function should take two parameters of any data type.
Use a temporary variable to store the value of one parameter.
Assign the value of the second parameter to the first parameter.
Assign the value of the temporary variable to the second parameter.
Search for an element in a rotated sorted linked list.
Find the pivot point where the list is rotated.
Divide the list into two sublists based on the pivot point.
Perform binary search on the appropriate sublist.
Handle edge cases such as empty list and list with only one element.
Search an element in a rotated sorted array
Find the pivot point where the array is rotated
Divide the array into two sub-arrays based on pivot point
Perform binary search on the appropriate sub-array
Repeat until element is found or sub-array size is 1
Find 5 missing numbers in an array of size 95 containing numbers in range 1 to 100.
Create a boolean array of size 100 and mark the present numbers
Iterate through the boolean array and find the missing numbers
Alternatively, use a HashSet to store the present numbers and find the missing ones
Given a Sudoku board, find possible numbers for an empty cell.
Iterate through empty cells and check possible numbers using row, column, and box constraints.
Use a set to keep track of possible numbers for each empty cell.
Return the set of possible numbers for the given empty cell.
Find integer average of 4 unsigned integers without typecasting
Add all the integers and divide by 4
Use bit shifting to divide by 4
Handle overflow by using long long data type
Use unsigned int data type for input
Code to identify 32 bit or 64 bit architecture of a processor
Check if the operating system is 32 bit or 64 bit
If OS is 32 bit, processor is 32 bit
If OS is 64 bit, check if processor supports 64 bit architecture
Use CPUID instruction to check if processor supports 64 bit architecture
Convert binary number to base 64 integer
Divide the binary number into groups of 6 bits
Convert each group of 6 bits to decimal
Map the decimal value to the corresponding base 64 character
Concatenate the base 64 characters to form the final integer
I applied via Referral
MVC life cycle, AJAX call and passing data from view to partial view.
MVC life cycle includes request routing, controller instantiation, action execution, and rendering of the view.
AJAX call is initiated by sending an HTTP request to the server and receiving a response in the form of JSON or XML data.
To pass data from one view to a partial view, we can use ViewBag, ViewData, or TempData.
ViewBag is a dynamic object that ...
Abstract class is a class that cannot be instantiated, while interface is a contract that defines methods.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have instance variables, while interface cannot.
Abstract class is used for code reusability and polymorphism, while interface is used for achieving abstraction and loose coupling.
In serv...
posted on 16 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 50 minutes
Round difficulty - Easy
This was a Data Structural round.
Given a two-dimensional array/list consisting of integers 0s and 1s, where 1 represents land and 0 represents water, determine the number of distinct islands. A group of...
Count the number of distinct islands in a 2D array of 0s and 1s.
Identify islands by performing depth-first search (DFS) on the grid
Use a set to store the shape of each island and check for duplicates
Consider translations to determine distinct islands
Round duration - 50 minutes
Round difficulty - Easy
This was a Data Structural round.
You are tasked with arranging 'N' words of varying lengths such that each line contains at most 'M' characters, with each word separated by a space. The challenge is to minimiz...
The goal is to minimize the total cost of arranging 'N' words on each line with a maximum character limit 'M'.
Calculate the cost of each line as the cube of extra space characters needed to reach 'M'.
Minimize the total cost by arranging words to fit within the character limit on each line.
Ensure each word appears fully on one line without breaking across lines.
Round duration - 60 minutes
Round difficulty - Easy
This was a System Design round.
Design a system similar to Red Bus for handling bookings and onboarding vendors and customers.
Implement a user-friendly interface for customers to search and book tickets
Create a vendor portal for vendors to manage their offerings and availability
Include payment gateway integration for secure transactions
Develop a robust backend system for managing bookings, cancellations, and refunds
Utilize a database to store user in
Round duration - 50 minutes
Round difficulty - Easy
This was a System Design round
Round duration - 50 minutes
Round difficulty - Easy
This was an HR round.
Tip 1 : Practice as much as you can.
Tip 2 : Prepare for company, not in general.
Tip 3 : Your past work should be objective and your contribution should be very clear
Tip 1 : Keep only relevant things for the job you are applying.
Tip 2 : Minimal data with measurable contribution and effect.
I applied via Referral and was interviewed before Jan 2020. There were 3 interview rounds.
posted on 8 Apr 2021
based on 2 interviews
Interview experience
based on 14 reviews
Rating in categories
Senior Software Engineer
2.4k
salaries
| ₹12 L/yr - ₹40 L/yr |
Principal Consultant
2.1k
salaries
| ₹14.5 L/yr - ₹36 L/yr |
Senior Consultant
2.1k
salaries
| ₹8.7 L/yr - ₹28 L/yr |
Senior Member of Technical Staff
1.8k
salaries
| ₹13.4 L/yr - ₹45 L/yr |
Senior Application Engineer
1.4k
salaries
| ₹9.6 L/yr - ₹30 L/yr |
SAP
MongoDB
Salesforce
IBM