This is a Test
Write a mocha/chai test for a function called `getLongestString` that does the following: ...
Write a mocha/chai test for a function called `getLongestString` that does the following: ...
Main Topic Title is in the title of the blog above ^^ (h1), so don't use h1s for anything else in the article. First-level subtitles (h2) Second-level subtitles (h4) Third-level subtitles (h6) In the markdown, always include a space between the hash marks (##) and the header word: ## First-level subtitles. Never put
Main Topic Title is in the title of the blog above ^^ (h1), so don't use h1s for anything else in the article. First-level subtitles (h2) Second-level subtitles (h4) Third-level subtitles (h6) Separate h2-level headers with a line break: Don't forget to edit the metadata in settings (gear icon in the
Warmup Given an array of integers, write a function that returns the smallest product of 3 numbers. Example: const input = [1,2,3,4] smallestProduct(input) // --> returns 6 The smallest product that can be obtained is 6 because 1 * 2 * 3 equals 6. No other combination of numbers will
Warmup Write a function that takes a non-negative integer as an argument and returns its binary representation as a string. For example: convertToBinary(12) // "1100" convertToBinary(0) // "0" convertToBinary(5) // "101"