How Does It Work?Sorting: Bubble SortGiven an array of integers, sort the array in ascending order using the Bubble Sort algorithm above. Once sorted, print the following…Mar 16, 2020Mar 16, 2020
How Does It Work?URLifyWrite a method to replace all spaces in a string with ‘%20’. You may assume that the string has sufficient space at the end to hold…Mar 5, 2020Mar 5, 2020
How Does It Work?Check PermutationGiven 2 strings, write a method to decide if one is a permutation of the other.Mar 5, 2020Mar 5, 2020
How Does It Work?How to determine if a string has all unique charactersI found a way to solve this with an O(n²) algorithm. O(N2) represents an algorithm whose performance is directly proportional to the…Mar 5, 2020Mar 5, 2020
How Does It Work?What is JSX?JSX allows us to write HTML in our JavaScript files. JSX can use any valid HTMl tags like divs, p tags, anchor tags, forms, input tags…Mar 1, 2020Mar 1, 2020
How Does It Work?How to Solve Min/Max ProblemGiven a 5 integer array, find the min and max values that can be calculated by summing up exactly 4 of 5 integers. Then print the min and…Feb 25, 2020Feb 25, 2020
How Does It Work?How do you solve the two-sum problem?Given an array of integers, return indicies of the 2 numbers such that tey add up to a specific target.Feb 17, 2020Feb 17, 2020
How Does It Work?How to solve the Math Sequences problem?During the assessment test in your interview, you may be asked to solve the math sequences problem, where you need to return a value of…Feb 4, 2020Feb 4, 2020
How Does It Work?What is Big O Notation??Big O Notation measures the time complexity of an algorithm. The time complexity of an algorithm quantifies the amount of time it takes…Feb 4, 2020Feb 4, 2020
How Does It Work?Map, reduce, and filter — JavaScript functional programmingThree functions that are commonly used in JavaScript are Map, Reduce, and Filter.Feb 1, 2020Feb 1, 2020