How to implement a Linked ListBefore we dive into Linked Lists, it is worth mentioning that an array is nothing more than a set of…Rami Del ToroJune 29, 2022 17 min
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
Tournament WinnerThere is a tournament taking place where teams compete against each other. Only two teams compete…Rami Del ToroAugust 25, 2021 13 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