Monotonic ArrayAn array is monotonic if it is either monotone increasing or monotone decreasing. An array nums is…Rami Del ToroSeptember 04, 2021 15 min
Move Elements to the EndYou are given an array of integers and an integer. Write a function that moves all instances of that…Rami Del ToroSeptember 02, 2021 16 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
Tournament WinnerThere is a tournament taking place where teams compete against each other. Only two teams compete…Rami Del ToroAugust 25, 2021 13 min