Top 50 Arrays Interview Questions
The most frequently asked Arrays 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
Blend360Use a hash map to find two array elements that sum to a target in O(n) time.
EtsyLLuxoft Singapore
NeoDoctoFind two indices in an array whose values add up to a target using a hash map.
Converseon
Earnest Research
EtsyImplement an LRU cache in O(1) average time using a hash table and doubly linked list.
Allianz
ICF
InsuletSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Merge two sorted arrays into one sorted array using a two-pointer linear scan.
Dropbox
TetraScience
BookingSort intervals by start time, then merge overlapping ranges into a minimal non-overlapping list.
Anthropic
Justworks
XeroUse Kadane's algorithm to find the contiguous subarray with the largest sum in linear time.
Meta
Publicis Groupe
Smbc Global Foundation

