i
Deloitte
Filter interviews by
I appeared for an interview in Apr 2025, where I was asked the following questions.
Creating a controller with LINQ to retrieve specific order data involves defining routes, queries, and returning results.
Define a controller class, e.g., 'OrdersController'.
Inject the DbContext to access the database.
Create an action method, e.g., 'GetOrdersByCustomerId'.
Use LINQ to query the orders, e.g., 'context.Orders.Where(o => o.CustomerId == id)'.
Return the results as JSON using 'Ok()' or 'NotFound()' for err...
Create a higher-order component in React to fetch and share API data between components.
Define a higher-order component (HOC) that wraps around the target components.
Use the fetch API to retrieve data inside the HOC, typically in a useEffect hook.
Store the fetched data in the HOC's state using useState.
Pass the fetched data as props to the wrapped components.
Handle loading and error states to improve user experience.
Use ROW_NUMBER() to rank salaries and retrieve the highest salary from a table.
ROW_NUMBER() assigns a unique sequential integer to rows within a partition.
To get the highest salary, order by salary in descending order.
Example SQL query: SELECT Salary FROM (SELECT Salary, ROW_NUMBER() OVER (ORDER BY Salary DESC) AS rn FROM Employees) AS ranked WHERE rn = 1.
Denouncing and throttling optimize performance by controlling event handling and reducing unnecessary processing.
Debouncing: Ensures a function is only called after a specified delay, preventing multiple calls during rapid events. Example: Search input.
Throttling: Limits the number of times a function can be executed over time, ensuring it runs at regular intervals. Example: Scroll events.
Use cases: Debouncing is ideal...
A denouncing function in JavaScript is used to create a function that can cancel or prevent further execution of a task.
A denouncing function limits the rate at which a function can fire. For example, it can prevent a function from being called multiple times in quick succession.
It is commonly used in scenarios like handling window resizing or scrolling events to improve performance.
Example: A denouncing function can b...
Queues are data structures that store elements in a specific order, primarily FIFO (First In, First Out).
FIFO Queue: Standard queue where the first element added is the first to be removed. Example: Print job queue.
LIFO Queue (Stack): Last element added is the first to be removed. Example: Browser history.
Priority Queue: Elements are removed based on priority rather than order. Example: Task scheduling.
Circular Queue: ...
C# supports different loading types, including eager, lazy, and explicit loading, each affecting performance and resource management.
Eager Loading: Loads all related data upfront. Example: using Include() in Entity Framework.
Lazy Loading: Loads related data on demand. Example: Navigation properties in EF that load when accessed.
Explicit Loading: Manually loads related data. Example: using context.Entry(entity).Referenc...
Object-oriented programming is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstrac...
Object-Oriented Programming (OOP) is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve a problem.
Key principles of OOP include encapsulation, inheritance, and polymorphism.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
...
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
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
What people are saying about Deloitte
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 have a strong background in software development, focusing on full-stack technologies and agile methodologies.
Bachelor's degree in Computer Science from XYZ University.
3 years of experience in web development using JavaScript, React, and Node.js.
Worked on a team project that improved application performance by 30%.
Experience with Agile methodologies, participating in daily stand-ups and sprint planning.
Contributed to...
posted on 9 Nov 2024
Challenging questions in mathematics.
A constructive discussion about the significance of various topics and additional aspects.
posted on 28 Mar 2022
I applied via Campus Placement and was interviewed in Feb 2022. There were 4 interview rounds.
Very Basic Questions
around 50 question
Only the top Candidates will be move to next round
2 basic level coding promblems
can write in any language
I am a software developer with experience in various programming languages and a passion for creating innovative solutions.
Experienced in Java, C++, and Python
Developed a mobile app using React Native
Worked on a team to build a web application using AngularJS
Strong problem-solving and analytical skills
EY is a multinational professional services firm specializing in assurance, tax, consulting, and advisory services.
EY is one of the Big Four accounting firms.
It has a global presence with offices in over 150 countries.
The company offers services in areas such as auditing, tax planning, risk management, and technology consulting.
EY is known for its expertise in financial services, healthcare, technology, and other indus...
Yes, I have plans for higher education.
I am currently pursuing a Bachelor's degree in Computer Science and plan to continue my education with a Master's degree.
I believe that higher education will provide me with a deeper understanding of software development principles and help me stay updated with the latest technologies.
I am considering specialized courses or certifications in areas such as artificial intelligence o...
I know multiple programming languages including Java, Python, and C++.
Proficient in Java, Python, and C++
Familiar with JavaScript, HTML, and CSS
Experience with SQL and NoSQL databases
Comfortable with object-oriented programming and design patterns
I have worked on various projects involving web development, mobile app development, and database management.
Developed a web application using HTML, CSS, and JavaScript for a client in the e-commerce industry.
Created a mobile app using React Native for a startup in the travel sector.
Managed and optimized a MySQL database for a healthcare organization.
Implemented RESTful APIs using Node.js and Express for a social media...
posted on 8 Mar 2024
I applied via Campus Placement
Some of the top questions asked at the Deloitte Dot Net Fullstack Developer interview -
based on 3 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Consultant
40k
salaries
| ₹10 L/yr - ₹21.5 L/yr |
Senior Consultant
24.8k
salaries
| ₹16.6 L/yr - ₹33.3 L/yr |
Analyst
16.6k
salaries
| ₹5 L/yr - ₹12 L/yr |
Assistant Manager
11.3k
salaries
| ₹12.1 L/yr - ₹22 L/yr |
Manager
7.9k
salaries
| ₹24.6 L/yr - ₹43.7 L/yr |
Accenture
PwC
Ernst & Young
Cognizant