i
Deloitte
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Job Portal and was interviewed in May 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Sep 2023. There were 2 interview rounds.
HashMap is a data structure in Java that stores key-value pairs and allows fast retrieval of values based on keys.
HashMap implements the Map interface in Java
It allows null keys and values
Keys in a HashMap must be unique
Example: HashMap
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap uses the hashCode() method of keys to calc...
Throw is used to explicitly throw an exception in a method, while Throws is used to declare the exceptions that a method may throw.
Throw is used within a method to throw an exception explicitly.
Throws is used in the method signature to declare the exceptions that the method may throw.
Throw is followed by an instance of Throwable class, while Throws is followed by the exception class names separated by commas.
Example: t...
Arrays are fixed in size, while ArrayLists can dynamically resize. ArrayLists provide more flexibility and functionality.
Arrays have a fixed size, while ArrayLists can dynamically resize.
ArrayLists can easily add, remove, or modify elements, while arrays require manual shifting of elements.
Arrays use [] syntax for declaration and initialization, while ArrayLists use the ArrayList class from the Java Collections framewo
ArrayList is resizable array implementation, LinkedList is doubly linked list implementation, Vector is synchronized version of ArrayList.
ArrayList is faster for accessing elements, LinkedList is faster for adding/removing elements in middle.
ArrayList uses less memory than LinkedList due to contiguous memory allocation.
Vector is thread-safe but slower than ArrayList due to synchronization overhead.
Iterate through a hashmap using an iterator in Java
Create an iterator using the entrySet() method of the hashmap
Use a while loop to iterate through the hashmap entries
Access the key and value of each entry using the getKey() and getValue() methods
I applied via Naukri.com and was interviewed in Oct 2023. There was 1 interview round.
Java SOLID principles are a set of design principles that help in creating maintainable and scalable software.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Subtypes must be substitutable for their base types.
I - Interface Segregation Principle: Cli...
HashMap is an implementation of Map interface that stores key-value pairs using a hash table.
HashMap uses hashing to store and retrieve elements.
It uses an array of linked lists to handle collisions.
The hash code of the key is used to determine the index of the array.
If multiple keys have the same hash code, they are stored in the same linked list.
When retrieving a value, the hash code is used to find the correct linke...
What people are saying about Deloitte
Deloitte interview questions for designations
To find the second highest salary, sort the salaries in descending order and skip the first one.
Sort the salaries in descending order
Skip the first salary to get the second highest salary
Handle edge cases like duplicates or null values
Get interview-ready with Top Deloitte Interview Questions
I applied via Naukri.com and was interviewed in Oct 2023. There were 3 interview rounds.
Basic coding on java 8
I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.
I was interviewed before Feb 2024.
Regular basic english, aptitude, java theory and coding questions
Basic Java questions. Data structure, database, coding question go through java tutorials
I was interviewed in Jan 2022.
Round duration - 60 minutes
Round difficulty - Easy
Timing( was it late night) Not late but interview conducted in the evening
How was the environment? Google meet
Any other significant activity Checked my projects my contribution my past experiences
How the interviewer was? (If it was there any interview) Interviewer was check technical knowledge and personality test
Given an integer array ARR
of size N
containing only integers 0 and 1, implement a function to sort this array. The solution should scan the array only once without using an...
The function sorts an integer array containing only 0s and 1s in linear time complexity.
Use two pointers, one starting from the beginning and the other from the end of the array.
Swap the elements at the pointers if the element at the beginning pointer is 1 and the element at the end pointer is 0.
Continue moving the pointers towards each other until they meet in the middle of the array.
Given a Binary Search Tree (BST) of integers, your task is to convert it into a greater sum tree. In the greater sum tree, each node's value should be replaced with the sum...
The task is to convert a Binary Search Tree into a Greater Sum Tree.
Traverse the BST in reverse inorder (right, root, left) to visit nodes in descending order.
Keep track of the sum of all greater nodes encountered so far.
Update the value of each node by adding the sum of greater nodes and update the sum.
Continue this process until all nodes have been visited.
Return the modified BST.
Round duration - 30 minutes
Round difficulty - Easy
This round was TechnoManagerial round where both technical as well as HR questions where asked. Interviewer was very supportive and he just wanted to check your best and your problem solving skills and you personality.
Tip 1 : Be prepared with OOPs concept, four pillers
Tip 2 : Practice Atleast 150-250 Questions
Tip 3 : Do atleast 2-3 projects host it and mention the links in resume.
Tip 1 : mention some 2-3 descent projects on resume.
Tip 2 : Do not add irrelevant fields in the resume. content is more important rather then styling to resume.
The duration of Deloitte Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 19 interviews
2 Interview rounds
based on 12 reviews
Rating in categories
Consultant
33.3k
salaries
| ₹6.3 L/yr - ₹23.1 L/yr |
Senior Consultant
20.9k
salaries
| ₹11 L/yr - ₹42 L/yr |
Analyst
14.2k
salaries
| ₹3.8 L/yr - ₹12.6 L/yr |
Assistant Manager
10k
salaries
| ₹7.8 L/yr - ₹24 L/yr |
Manager
7.1k
salaries
| ₹15.8 L/yr - ₹52 L/yr |
Accenture
PwC
Ernst & Young
Cognizant