A basic linear data structure that holds a fixed number of containers to store data.

In a given array of numbers, one element will show up once and the rest will show up twice. Can you ...

Given an integer `num`, write a method to determine if it is a power of 3. ```js console.log(powerO...

We're given a number `n`. Write a function that returns the string representation of all numbers fr...

This is a classic and very common interview problem. Given an array of integers, return the indices ...

We have an unsorted array of integers such as the following: ```js [-2, -1, 0, 1, 3] ``` In the ab...

Given an array, return just the unique elements without using any built-in Array filtering. In other...

Given an array of numbers, return `true` if there is a contiguous subarray that sums up to a certain...

Say we are given an integer array of an even length, where different numbers in the array represent ...

This is a classic technical interview question that I've seen a number of times in interviews. Let'...

Write a method that moves all zeros in an array to its end. You should maintain the order of all oth...

Assume that we are building software to determine how many planes are in the sky. The data that we h...

We're given a set in the form of an array with a unique integers. Can you write a function that tell...

A circular array is one where the `next` element of the last element is the first element: Instead ...

Given an array of positive and negative integers like the following: ```js const arr = [3, 5, -2, -...

A perfect square is a number made by squaring a whole number. Some examples include `1`, `4`, `9`, o...

Many modern programming languages have the notion of a stream. A stream is a resource _that's broken...

We're given a histogram like the following, where contiguous (sharing a common border or touching) b...

Given a directed graph represented via an adjacency list, write a class `StronglyConnectedComponents...

This problem is named the "Dutch national flag problem" because the flag of the Netherlands is compr...