i
Deloitte
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Approached by Company and was interviewed in Mar 2024. There were 3 interview rounds.
Find repeat elements in an array of strings
Iterate through the array and store each element in a HashMap with its count
Check if the count of any element is greater than 1, then it is a repeat element
Return the repeat elements found in the array
Build a basic CRUD REST API endpoint
Create a REST API endpoint for each CRUD operation (Create, Read, Update, Delete)
Use HTTP methods like POST, GET, PUT, DELETE to perform CRUD operations
Implement data validation and error handling for each operation
Utilize a framework like Spring Boot or Express.js to simplify API development
To find the third highest salary in a SQL table, you can use the 'SELECT TOP 1' statement with 'ORDER BY salary DESC OFFSET 2 ROWS FETCH NEXT 1 ROWS ONLY'.
Use the 'SELECT TOP 1' statement to retrieve only one record
Order the records by salary in descending order using 'ORDER BY salary DESC'
Skip the first two highest salaries using 'OFFSET 2 ROWS'
Fetch the next record after skipping the first two using 'FETCH NEXT 1 ROW
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<String, Integer> map = new 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
What people are saying about Deloitte
I applied via Naukri.com and was interviewed in Oct 2023. There were 3 interview rounds.
Basic coding on java 8
Deloitte interview questions for designations
I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.
Get interview-ready with Top Deloitte Interview Questions
I appeared for an interview 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 appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
This test consists of two coding questions and some MCQ regarding computer fundamentals.
Kevin has two packs of cards. The first pack contains N cards, and the second contains M cards. Each card has an integer written on it. Determine two results: the tot...
Find total distinct card types and common card types between two packs of cards.
Create a set to store distinct card types when combining both packs.
Iterate through each pack and add card types to the set.
Find the intersection of card types between the two packs to get common card types.
Given an array of integers arr
, where arr[i]
represents the number of pages in the i-th
book, and an integer m
representing the number of students, allocate all the books ...
Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.
Iterate through all possible allocations of books to students.
Calculate the maximum number of pages assigned to a student for each allocation.
Return the minimum of these maximums as the result.
Round duration - 40 minutes
Round difficulty - Easy
It was a technical round that is based on DSA and computer fundamentals.
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed link...
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers - prev, current, and next to reverse the linked list in O(N) time and O(1) space complexity.
Update the head of the reversed linked list as the last node encountered during the reversal process.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an array of 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while traversing the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity should be O(N) and space complexity should be O(1).
Tip 1 : If you are not able to complete something in-depth, clearly mention that to the interviewer.
Tip 2 : Practice DSA well.
Tip 3 : Try to think analytically and more logically,Your thinking skills matters a lot.
Tip 1 : Try to mention max no of projects
Tip 2 : DO not fake in your resume.
I applied via Campus Placement and was interviewed before Nov 2020. There was 1 interview round.
Program to calculate factorial
Use a loop to multiply the numbers from 1 to n
Handle edge cases like 0 and negative numbers
Use recursion for a more elegant solution
I applied via LinkedIn and was interviewed before May 2023. There were 2 interview rounds.
Clear basic programming fundamentals
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
I had a conflict with a team member over project priorities.
Miscommunication led to conflicting priorities
Discussed the issue openly and found a compromise
Learned the importance of clear communication in team projects
Developed a web-based project management tool for tracking tasks and deadlines
Used React for front-end development
Implemented user authentication and authorization using JWT tokens
Utilized Node.js and Express for back-end development
Integrated MongoDB for database storage
The duration of Deloitte Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 6 interviews
1 Interview rounds
based on 14 reviews
Rating in categories
Pune,
Chennai
+16-9 Yrs
₹ 6-16 LPA
Consultant
34.8k
salaries
| ₹6.5 L/yr - ₹28.2 L/yr |
Senior Consultant
22k
salaries
| ₹11 L/yr - ₹42 L/yr |
Analyst
14.8k
salaries
| ₹3.8 L/yr - ₹12.9 L/yr |
Assistant Manager
10.4k
salaries
| ₹7.8 L/yr - ₹28 L/yr |
Manager
7.3k
salaries
| ₹16 L/yr - ₹52 L/yr |
Accenture
PwC
Ernst & Young
Cognizant