Contains and removing duplicates in arraysThe problems read as follows, for contains duplicates:Mar 15, 2021Mar 15, 2021
Buy-Sell Stocks IIYou are given an array prices where prices[i] is the price of a given stock on the ith day.Mar 9, 2021Mar 9, 2021
Solving the largest possible integerOur problem is asking us to return the largest possible integer after adding a 5 among the digits. For example, when given the number 268…Feb 16, 2021Feb 16, 2021
Missing integer in JSThe missing integer problem asks for the return of the smallest positive integer (greater than 0) that does not occur in the given array…Feb 8, 2021Feb 8, 2021
Linked ListA linked list is a sequence of data structures connected through links. This means that each element in the linked list points to the next…Feb 1, 2021Feb 1, 2021
Solving Min MaxThe “Min-Max” problem description is as follows when given an array A the length N, we must find the sum of the minimum and maximum…Jan 25, 2021Jan 25, 2021
Stacks in JS and Parenthesis MatchingStacks are a useful data structure that holds a list of elements. A stack works in a “last in”, “first out” principle meaning that the…Jan 16, 2021Jan 16, 2021
What is Big O?Big O notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular…Jan 11, 2021Jan 11, 2021