Top 50 Hash Tables Interview Questions
The most frequently asked Hash Tables questions across all roles and companies, ranked by real interview frequency. Updated daily.
Use a hash map to find two array elements that sum to a target in O(n) time.
iCapital
Paycom
Blend360Find the longest substring with all unique characters using a sliding window.
DeepInstinct
Taboola
EDF RenewablesUse a hash map to find two array elements that sum to a target in O(n) time.
NeoDoctoCCredibleUse a sliding window and hash map to find the longest substring without repeated characters in a string.
Insight Global
O'Reilly Media
AvisoFind two indices in an array whose values add up to a target using a hash map.
Converseon
Earnest Research
EtsyUse Floyd’s two-pointer algorithm to determine whether a singly linked list contains a cycle.
AMD Construction Group
Informatica
AkamaiImplement an LRU cache in O(1) average time using a hash table and doubly linked list.
Allianz
ICF
InsuletImplement an LRU cache using a hash map and doubly linked list to support O(1) get and put operations.
Scout Motors
Twitch
AllianzSign up to see every question
Create a free account to unlock this list and practice real interview questions.