Deloitte

Deloitte

Multinational professional services network with offices in over 150 countries.

4 Rounds ~21 Days Medium
Start Mock Interview

The Interview Loop

Recruiter Screen (30 min)

Standard fit check, behavioral questions, and resume overview.

Technical Loop (3-4 Rounds)

Deep dive into domain knowledge, coding, and system design.

Interview Question Bank

Backend Engineer Coding easy

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

#Strings #Stack
Backend Engineer Coding easy

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice.

#Arrays #Hash Map
Backend Engineer Coding medium

Given a binary search tree (BST), find the lowest common ancestor (LCA) node of two given nodes in the BST.

#Trees #Binary Search Tree #Recursion
Backend Engineer Coding medium

Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.

#Hash Map #Heap #Bucket Sort
Backend Engineer Coding medium

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.

#Arrays #Sorting
Cloud Engineer Coding easy

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

#Strings #Stacks
Cloud Engineer Coding medium

Write a function to merge overlapping intervals. This is useful for processing overlapping log timeframes.

#Arrays #Sorting
Cloud Engineer Coding easy

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

#Arrays #Hash Maps
Data Engineer Coding easy

Write a Python function to merge two sorted lists of integers into a single sorted list without using the built-in sort() or sorted() functions.

#Two Pointers #Arrays
Data Scientist Coding easy

Given an array of integers and a target integer, write a Python function to return the indices of the two numbers that add up to the target. Assume exactly one solution exists.

#Hash Maps #Arrays #Optimization
Frontend Engineer Coding medium

Write a JavaScript function to flatten a deeply nested object, which is a common requirement when mapping complex client API responses to flat UI tables.

#Recursion #Data Structures #JavaScript
Frontend Engineer Coding easy

Given an array of integers, write a function to move all zeros to the end of it while maintaining the relative order of the non-zero elements. Do this in-place.

#Arrays #Two Pointers
Frontend Engineer Coding easy

Write a function that takes a string containing brackets `()`, `{}`, `[]` and determines if the input string is valid.

#Stacks #String Manipulation
Frontend Engineer Coding medium

Implement an infinite scroll component in React. How do you handle performance when the list reaches 10,000 items?

#React #Intersection Observer #Virtualization
Frontend Engineer Coding hard

Write a JavaScript function to deep clone an object, ensuring that circular references do not cause a stack overflow.

#JavaScript #Recursion #Memory Management
Frontend Engineer Coding medium

Implement an LRU (Least Recently Used) Cache class in JavaScript.

#Data Structures #Caching #JavaScript
Frontend Engineer Coding hard

Write a function to check if two DOM trees are identical structurally and have the same text content.

#DOM #Recursion #Tree Traversal
Frontend Engineer Coding medium

Write a custom React hook `useDebounce` that delays invoking a function until after wait milliseconds have elapsed since the last time the debounced function was invoked. How would you use this for a client's global search bar?

#JavaScript #React Hooks #Performance
Frontend Engineer Coding hard

Implement a polyfill for Promise.all().

#Asynchronous JavaScript #Promises #Polyfills
Full Stack Engineer Coding easy

Given the head of a singly linked list, reverse the list, and return the reversed list.

#Linked List #Pointers
Full Stack Engineer Coding easy

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.

#Arrays #Hash Map
Full Stack Engineer Coding easy

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

#Stacks #Strings
Full Stack Engineer Coding medium

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals.

#Arrays #Sorting
Full Stack Engineer Coding medium

Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.

#Hash Map #Doubly Linked List #Design
Full Stack Engineer Coding medium

Given an array of strings, group the anagrams together. You can return the answer in any order.

#Strings #Hash Map #Sorting
Full Stack Engineer Coding medium

Given a string s, find the length of the longest substring without repeating characters.

#Sliding Window #Hash Set #Strings
Full Stack Engineer Coding medium

Given an integer array nums and an integer k, return the k most frequent elements.

#Heaps #Hash Map #Bucket Sort
Machine Learning Engineer Coding easy

Given an array of integers and an integer target, return indices of the two numbers such that they add up to target. How would you optimize this for a large dataset?

#Arrays #Hash Tables #Optimization
Machine Learning Engineer Coding hard

Implement a function to calculate the cosine similarity between two sparse vectors. Optimize it for memory and speed, assuming vectors represent large text embeddings.

#Math #Sparse Matrices #NLP
Machine Learning Engineer Coding medium

Given a list of intervals representing meeting times for a client's project schedule, merge all overlapping intervals.

#Arrays #Sorting #Intervals
Product Manager Coding medium

Given an array of user session times, write a function to calculate the average session duration excluding the top and bottom 5% outliers.

#Data Manipulation #Statistics #Array Processing
Software Engineer Coding easy

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.

#Arrays #Hash Table
Software Engineer Coding medium

Implement a method to perform basic string compression using the counts of repeated characters (e.g., aabcccccaaa becomes a2b1c5a3).

#Strings #Two Pointers
Software Engineer Coding easy

Given a string, find the first non-repeating character in it and return its index. If it does not exist, return -1.

#Strings #Hash Table
Software Engineer Coding medium

Given an array of strings, group the anagrams together. You can return the answer in any order.

#Strings #Hash Table #Sorting
Software Engineer Coding medium

Find the length of the longest substring without repeating characters.

#Strings #Sliding Window #Hash Table
Software Engineer Coding easy

Write a function to reverse a singly linked list.

#Linked Lists #Pointers
Software Engineer Coding medium

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals.

#Arrays #Sorting
Software Engineer Coding easy

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

#Strings #Stacks

Difficulty Radar

Based on recent AI-sourced data.

Meet Your Interviewers

The "Standard" Interviewer

Senior Engineer

Focuses on core competencies, system constraints, and clear communication.

Simulate

Unwritten Rules

Think Out Loud

Always explain your thought process before writing code or drawing architecture.

Practice Now