# Arrays Interview Questions

Arrays technical interview questions - explore example questions and browse the world's largest library of mock technical interview recordings.
Apple Interview in PythonLongest increasing path
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
3/4
Communication Ability:
3/4
Microsoft Interview in C++Even Odd Tree
Advance this person to the next round?
Technical Skills:
2/4
Problem Solving Ability:
3/4
Communication Ability:
2/4

## Arrays Mock Interviews

Watch others solve Arrays interview questions, see how they did, and learn from their mistakes.

Airbnb Interview in PythonMissing item list difference
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
4/4
Communication Ability:
4/4
Google Interview in JavaThird order statistic of a set
Advance this person to the next round?
Technical Skills:
2/4
Problem Solving Ability:
2/4
Communication Ability:
3/4
Airbnb Interview in PythonTwo sum
Advance this person to the next round?
Technical Skills:
3/4
Problem Solving Ability:
3/4
Communication Ability:
3/4
LinkedIn Interview in JavaReverse word in string
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
2/4
Communication Ability:
4/4
Google Interview in JavaScriptMeeting hour optimization
Advance this person to the next round?
Technical Skills:
2/4
Problem Solving Ability:
1/4
Communication Ability:
2/4
Airbnb Interview in C++Missing item list difference
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
4/4
Communication Ability:
3/4
Google Interview in JavaOrder statistic of an unsorted array
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
3/4
Communication Ability:
4/4
Advance this person to the next round?
Technical Skills:
Problem Solving Ability:
Communication Ability:
Advance this person to the next round?
Technical Skills:
3/4
Problem Solving Ability:
4/4
Communication Ability:
4/4
Netflix Interview in PythonBinary array partition
Advance this person to the next round?
Technical Skills:
2/4
Problem Solving Ability:
2/4
Communication Ability:
2/4
interviewing.io Interview in PythonString shuffle and analysis
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
3/4
Communication Ability:
4/4
Advance this person to the next round?
Technical Skills:
3/4
Problem Solving Ability:
1/4
Communication Ability:
4/4
Microsoft Interview in PythonLongest consecutive sequence
Advance this person to the next round?
Technical Skills:
3/4
Problem Solving Ability:
3/4
Communication Ability:
2/4
Slack Interview in PythonTransformation dictionary
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
4/4
Communication Ability:
4/4
Google Interview in JavaMost frequent integer and pairs of integers sum
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
4/4
Communication Ability:
4/4
FAANG Interview in PythonLucky Numbers in a Matrix
Advance this person to the next round?
Technical Skills:
4/4
Problem Solving Ability:
3/4
Communication Ability:
4/4
Advance this person to the next round?
Technical Skills:
3/4
Problem Solving Ability:
3/4
Communication Ability:
4/4

## Arrays Interview questions and solutions

Get step-by-step instructions on how to approach and solve common technical interview questions.

EASY
Data Structures and Algorithms

Watch 2 interviews
MEDIUM
Data Structures and Algorithms
Longest Substring Without Repeating Characters

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

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Top K Frequent Elements

Given a non-empty array of integers, return the k most frequent elements

MEDIUM
Data Structures and Algorithms
Container With Most Water

Given n non-negative integers, find two lines that form a container that can hold the most amount of water.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Kth Smallest Element

Given an integer array and an integer k, return the kth smallest element in the array.

Watch 2 interviews
MEDIUM
Data Structures and Algorithms
Subarray Sum Equals K

Given an unsorted array of integers and an integer k, find the number of subarrays whose sum equals k.

Watch 2 interviews
MEDIUM
Data Structures and Algorithms
Three Sum

Given an array of integers, return an array of triplets such that i != j != k and nums[i] + nums[j] + nums[k] = 0.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Build a Max Heap

Given an array of integers, transform the array in-place to a max heap.

Watch 1 interview
EASY
Data Structures and Algorithms
Two Sum

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

Watch 5 interviews
EASY
Data Structures and Algorithms
Reverse Words in a String

Given an input string `s`, reverse the order of the words without reversing the words themselves.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Find Peak Element

Given a two-dimensional binary matrix where 1 represents water and 0 represents land, mutate the matrix in place and return the matrix with the highest peak maximized.

MEDIUM
Data Structures and Algorithms
Insert Delete getRandom O(1)

Design and implement an efficient sampler that works in average O(1) time complexity.

MEDIUM
Data Structures and Algorithms
Find Missing Number In Array (Two Arrays)

Given an unsorted array of unique integers (size n + 1) and a first array identical to the second array but missing one integer (size n), find and output the missing integer.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Generate Parentheses

Given `n` pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Partition to K Equal Sum Subsets

Given an integer array nums and an integer k, return true if it is possible to divide this array into k non-empty subsets whose sums are all equal.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Partition List

Given a list of integers L and a number K, write a function that reorganizes L into three partitions: elements less than K, elements equal to K, and elements greater than K. No additional lists may be used.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Number of Islands

Given a 2D matrix, where "1" represents land and "0" represents water, count how many islands are present.

Watch 1 interview
MEDIUM
Data Structures and Algorithms
Meeting Rooms

Given a list of meetings, represented as tuples with a start and an end time, determine the minimum number of rooms required to schedule all the meetings.

Watch 1 interview

# We know exactly what to do and say to get the company, title, and salary you want.

Interview prep and job hunting are chaos and pain. We can help. Really.