algorithm

Three Number Sum

  Problem Given an array of distinct integers sums and an integer representing the target sum. Find all triple...

46 sec read

Big O of Common Array Operations

  Array:  an array is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key. (wikipedia) Knowing Big...

1 min read

Validate Subsequence

  Problem We are given two arrays of integers nums and sequenceNums, and they are non-empty. Check whether all the numbers in...

1 min read

Two Number Sum

  Problem Given an array of distinct integers sums and an integer representing the target sum. Find if there’s...

1 min read