How to implement the MergeSort AlgorithmWrite an algorithm that takes in an array of integers and returns a sorted version of that array…Rami Del ToroOctober 10, 2021 25 min
Smallest DifferenceGiven two arrays of integers, find the pair of values with the smallest difference. Overview Naive…Rami Del ToroSeptember 01, 2021 12 min
Three Number SumGiven an integer array, return all the triplets that will sum up to the target number. Result should…Rami Del ToroAugust 27, 2021 17 min
Non Constructable ChangeGiven an array of positive integers (representing coins), find the smallest value that cannot be…Rami Del ToroAugust 26, 2021 14 min
Sorted Square ArrayGiven an integer array sorted in non-decreasing order, return an array of the squares of each number…Rami Del ToroAugust 24, 2021 12 min