i
Oracle
Filter interviews by
I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.
Reverse a linked list by changing the next pointers of each node to point to the previous node.
Start with three pointers: current, previous, and next.
Iterate through the linked list, updating the next pointer of each node to point to the previous node.
Update the previous, current, and next pointers for each iteration.
Distribute candies among students based on their ratings, ensuring higher rated students get more candies.
Create an array to store the ratings of each student
Initialize another array to store the number of candies each student will receive
Start by giving each student 1 candy
Iterate over the ratings array from left to right, comparing each student's rating with the previous one and adjusting the candies accordingly
Data serialization is the process of converting data structures or objects into a format that can be stored or transmitted.
Serialization involves converting data into a byte stream for storage or transmission.
Common serialization formats include JSON, XML, and Protocol Buffers.
Serialization allows data to be easily saved to a file or sent over a network.
Deserialization is the reverse process of converting serialized da
Data shuffling in Spark is the process of redistributing data across partitions to optimize parallel processing.
Data shuffling occurs when data needs to be moved across partitions, typically during operations like groupBy, join, or sortBy.
It involves transferring data between executors, which can be a costly operation in terms of performance.
Data shuffling can impact the performance of a Spark job, so it's important to...
Map-reduce is a programming model used for processing and generating large data sets in parallel.
Map function processes input data and generates key-value pairs
Reduce function takes the output of the map function and combines the values with the same key
Example: Word count in a document - map function counts occurrences of each word, reduce function sums up the counts
Handling service downtime in microservice architecture is crucial for maintaining system reliability.
Implement circuit breakers to prevent cascading failures
Use service discovery to automatically route traffic to healthy instances
Implement retry mechanisms with exponential backoff to handle transient failures
Monitor service health and performance metrics to proactively detect issues
Implement graceful degradation to pro
Implement rate limiting, load balancing, and circuit breaking to handle too many requests in micro service architecture.
Implement rate limiting to control the number of requests a service can handle within a specific time frame.
Use load balancing to distribute incoming requests evenly across multiple instances of a service.
Implement circuit breaking to prevent cascading failures and overload in case of high traffic.
Con...
Top trending discussions
posted on 15 Jul 2024
It was about 45mins aptitude test .
posted on 22 Mar 2024
Questions on react , majorly focus on basics
Discussion about in details technical aspects of project
Very hard question and 4 qs in total
posted on 24 Dec 2022
I was interviewed in Nov 2022.
I applied via Approached by Company and was interviewed in Aug 2022. There were 4 interview rounds.
Implementing hashmap in Java
Create an array of linked lists to store key-value pairs
Hash the key to get the index of the array
Insert the key-value pair at the index in the linked list
Handle collisions by chaining
Implement methods like put(), get(), remove()
Use generics to allow any type of key-value pairs
posted on 17 Apr 2022
I applied via Campus Placement and was interviewed in Oct 2021. There were 4 interview rounds.
Coding round where questions based on arrays and strings were asked
OOPS in Java is a programming paradigm that emphasizes on objects and their interactions.
OOPS stands for Object-Oriented Programming System
Java is an OOPS language that supports encapsulation, inheritance, and polymorphism
Encapsulation is the process of hiding data and methods within a class
Inheritance allows a subclass to inherit properties and methods from a superclass
Polymorphism allows objects to take on multiple f...
Multithreading in Java allows multiple threads to execute concurrently within a single program.
Multithreading improves performance by allowing multiple tasks to run simultaneously.
Java provides built-in support for multithreading through the Thread class and Runnable interface.
Synchronization is important to prevent race conditions and ensure thread safety.
Examples of multithreading in Java include GUI applications, se...
Collections Framework is a set of classes and interfaces that provide reusable data structures in Java.
It provides interfaces like List, Set, Queue, etc. for storing collections of objects.
It also provides classes like HashMap, TreeMap, etc. for storing key-value pairs.
It simplifies the process of storing and manipulating data in Java programs.
It improves the performance of Java programs by providing efficient data str...
Exception handling is a mechanism to handle runtime errors in Java programs.
Exceptions are objects that are thrown at runtime when an error occurs
try-catch block is used to handle exceptions
finally block is used to execute code regardless of whether an exception is thrown or not
Java provides built-in exceptions like ArithmeticException, NullPointerException, etc.
Custom exceptions can also be created by extending the Ex
posted on 9 Feb 2022
I applied via Naukri.com and was interviewed in Jan 2022. There were 2 interview rounds.
I was interviewed in Jan 2021.
Round duration - 60 Minutes
Round difficulty - Easy
The first round was conducted on HackerRank platform and comprised of 10 MCQs and 2 coding questions.
Both the coding questions expected optimised solution (brute force wouldn’t work).
You are provided with an array of positive integers ARR
that represents the strengths of different “jutsus” (ninja techniques). You are also given the strength of the ene...
Your task is to determine the minimum number of platforms required at a railway station so that no train has to wait.
Given two arrays:
AT
- represent...Round duration - 60 Minutes
Round difficulty - Medium
The interview began with my introduction. The interviewer was very friendly and asked me a few questions about myself, my hobbies, etc.
You are given a sequence of numbers, ARR
. Your task is to return a sorted sequence of ARR
in non-descending order using the Merge Sort algorithm.
The Merge Sort...
You are given an array of integers. The task is to remove all duplicate elements and return the array while maintaining the order in which the elements were provided.
Round duration - 60 Minutes
Round difficulty - Easy
This was conducted on the Codepair platform on HackerRank and the interviewer was in face-time with me. There were 3 questions to be coded.
Given an unsorted array of integers, modify the array such that all the zeroes are moved to the end, while maintaining the order of non-zero elements as they appear or...
Create a base class called Shape
that contains a field named shapeType
and a method printMyType
.
Implement two derived classes:
Given an undirected and disconnected graph G(V, E)
, where V
is the number of vertices and E
is the number of edges, the connections between vertices are provided in the 'GR...
Tip 1 : Only write what your confident in cv
Tip 2 : Practice ds and algo problems with consistency
Tip 3 : Prepare for company specific questions
Tip 1 : Skills relevant to Job Description
Tip 2 : Be confident about things mentioned in cv
based on 1 interview
Interview experience
Senior Software Engineer
2.4k
salaries
| ₹10.2 L/yr - ₹40 L/yr |
Senior Consultant
2.1k
salaries
| ₹9.1 L/yr - ₹25 L/yr |
Principal Consultant
2k
salaries
| ₹14 L/yr - ₹36 L/yr |
Senior Member of Technical Staff
1.8k
salaries
| ₹12 L/yr - ₹45 L/yr |
Senior Application Engineer
1.4k
salaries
| ₹9.7 L/yr - ₹30 L/yr |
SAP
MongoDB
Salesforce
IBM