Flex Coder

Coding Challenges

Two Sum Problem in Javascript

ArrayHash Map

Find two numbers in an array that add up to a specific target sum.

Two Sum Problem with Sorted Array in Javascript

ArrayTwo Pointers

A variation of the Two Sum problem where the input array is sorted.

Two Sum Less Than K Problem in Javascript

ArrayGreedy

Find a pair of numbers in an array such that their sum is less than a specified value, K.

Three Sum Problem in Javascript

ArraySorting

Given an array, find all unique triplets that sum to zero.

Three Sum Closest Problem in Javascript

ArraySortingTwo Pointers

Find the triplet in an array whose sum is closest to a given target value.

Page 1 of 1