Implemented solutions for coding challenges & web app projects of 1800 hour long full stack developer roadmap from freeCodeCamp.
-
Updated
Apr 19, 2024 - JavaScript
Implemented solutions for coding challenges & web app projects of 1800 hour long full stack developer roadmap from freeCodeCamp.
📚 Javascript Algorithms And Data Structures
My solutions to the JavaScript Algorithms on freeCodeCamp.
Solving exercises from Freecodecamp.org using Elixir programming language. Includes benchmarks and tests for every functions.
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:
Convert the given number into a roman numeral.
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 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.
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.
Write a function that takes two or more arrays and returns a new array of unique values in the order of the original provided arrays. In other words, all values present from all arrays should be included in their original order, but with no duplicates in the final array.
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.
freeCodeCamp - JavaScript Algorithms and Data Structures (2022)
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."