freeCodeCamp - JavaScript Algorithms and Data Structures (2022)
-
Updated
Jan 18, 2022 - JavaScript
freeCodeCamp - JavaScript Algorithms and Data Structures (2022)
A collection of my solutions to Free Code Camps Front-End Algorithm Questions
JavaScript Algorithms and Data Structures Certification (300 hours)
All algorithm and challenges I have completed for FreeCodeCamp
FreeCodeCamp Intermediate Algorithm Scripting
Description for the project. My first GitHub repository
Design a cash register drawer function checkCashRegister() that accepts purchase price as the first argument (price), payment as the second argument (cash), and cash-in-drawer (cid) as the third argument.
According to Kepler's Third Law, the orbital period T of two point masses orbiting each other in a circular or elliptic orbit is:
Create a function that sums two arguments together. If only one argument is provided, then return a function that expects one argument and returns the sum.
Convert the given number into a roman numeral.
Convert the characters &, <, >, " (double quote), and ' (apostrophe), in a string to their corresponding HTML entities.
Here are the codes that I wrote while doing the "JavaScript Algorithms and Data Structures" course on FreeCodeCamp.com. Hope it will help you get through any problem you might face while solving the problems. PEACE :)
Write a function which takes a ROT13 encoded string as input and returns a decoded string.
Given the array arr, iterate through and remove each element starting from the first element (the 0 index) until the function func returns true when the iterated element is passed through it. Then return the rest of the array once the condition is satisfied, otherwise, arr should be returned as an empty array
Flatten a nested array. You must account for varying levels of nesting.
Return true if the given string is a palindrome. Otherwise, return false. A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.
Check if the predicate (second argument) is truthy on all elements of a collection (first argument).
Return true if the passed string looks like a valid US phone number.
Return an English translated sentence of the passed binary string. The binary string will be space separated.
Given a positive integer num, return the sum of all odd Fibonacci numbers that are less than or equal to num.
Add a description, image, and links to the algorithm-scripting topic page so that developers can more easily learn about it.
To associate your repository with the algorithm-scripting topic, visit your repo's landing page and select "manage topics."