grindmapcompany-wise LeetCode
All companies

Deloitte LeetCode Questions

43 questions all-time · 17 easy · 23 medium · 3 hard
# Problem Difficulty Frequency Acceptance
1Merge k Sorted Lists
Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort
Hard
100
0.6%
2Two Sum
Array, Hash Table
Easy
96
0.6%
3Change Null Values in a Table to the Previous Value
Database
Medium
85
0.5%
4Valid Parentheses
String, Stack
Easy
77
0.4%
5Second Highest Salary
Database
Medium
77
0.5%
6Best Time to Buy and Sell Stock
Array, Dynamic Programming
Easy
74
0.6%
7Longest Palindromic Substring
Two Pointers, String, Dynamic Programming
Medium
74
0.4%
8Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
74
0.4%
9Palindrome Number
Math
Easy
65
0.6%
10Longest Common Prefix
Array, String, Trie
Easy
65
0.5%
11Container With Most Water
Array, Two Pointers, Greedy
Medium
65
0.6%
12Managers with at Least 5 Direct Reports
Database
Medium
58
0.5%
13Minimum Time to Repair Cars
Array, Binary Search
Medium
58
0.6%
14Merge Intervals
Array, Sorting
Medium
58
0.5%
15Maximum Subarray
Array, Divide and Conquer, Dynamic Programming
Medium
58
0.5%
16First Unique Character in a String
Hash Table, String, Queue, Counting
Easy
58
0.7%
17Nth Highest Salary
Database
Medium
58
0.4%
18Group Anagrams
Array, Hash Table, String, Sorting
Medium
58
0.7%
193Sum
Array, Two Pointers, Sorting
Medium
58
0.4%
20Remove Duplicates from Sorted Array
Array, Two Pointers
Easy
58
0.6%
21Add Binary
Math, String, Bit Manipulation, Simulation
Easy
58
0.6%
22Climbing Stairs
Math, Dynamic Programming, Memoization
Easy
58
0.5%
23Valid Palindrome
Two Pointers, String
Easy
58
0.5%
24Edit Distance
String, Dynamic Programming
Medium
49
0.6%
25Coin Change
Array, Dynamic Programming, Breadth-First Search
Medium
49
0.5%
26Rising Temperature
Database
Easy
49
0.5%
27Max Consecutive Ones
Array
Easy
49
0.7%
28Kth Largest Element in an Array
Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect
Medium
49
0.7%
29Customers Who Never Order
Database
Easy
49
0.7%
30Roman to Integer
Hash Table, Math, String
Easy
49
0.7%
31Reverse Pairs
Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set
Hard
49
0.3%
32Longest Consecutive Sequence
Array, Hash Table, Union-Find
Medium
49
0.5%
33Remove K-Balanced Substrings
String, Stack, Simulation
Medium
49
0.3%
34Split Array Largest Sum
Array, Binary Search, Dynamic Programming, Greedy, Prefix Sum
Hard
49
0.6%
35Shortest Unsorted Continuous Subarray
Array, Two Pointers, Stack, Greedy, Sorting, Monotonic Stack
Medium
49
0.4%
36Rotate Array
Array, Math, Two Pointers
Medium
49
0.5%
37Valid Anagram
Hash Table, String, Sorting
Easy
49
0.7%
38Remove K Digits
String, Stack, Greedy, Monotonic Stack
Medium
49
0.4%
39Remove All Adjacent Duplicates In String
String, Stack
Easy
49
0.7%
40Subarray Sum Equals K
Array, Hash Table, Prefix Sum
Medium
49
0.5%
41Next Permutation
Array, Two Pointers
Medium
49
0.5%
42Reverse Vowels of a String
Two Pointers, String
Easy
49
0.6%
43Super Ugly Number
Array, Math, Dynamic Programming
Medium
49
0.5%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.