My solutions to the JavaScript Algorithms on freeCodeCamp.
-
Updated
Apr 27, 2023 - JavaScript
My solutions to the JavaScript Algorithms on freeCodeCamp.
A repository that stores my exercises and projects from the course listed above.
This is free code camp solutions project for the free code camp beginners.
Freecodecamp algorithm solving from basic to advanced
✨ A collection of algorithms written in JavaScript
JS & Python algorithms solved by me
Make a function that looks through an array of objects (first argument) and returns an array of all objects that have matching name and value pairs (second argument). Each name and value pair of the source object has to be present in the object from the collection if it is to be included in the returned array.
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.
A repository containing all the FreeCodeCamp Curriculum's projects made by myself.
Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a two-dimensional array.
You will be provided with an initial array (the first argument in the destroyer function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments. Note: You have to use the arguments object.
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.
Pig Latin is a way of altering English Words. The rules are as follows: - If a word begins with a consonant, take the first consonant or consonant cluster, move it to the end of the word, and add ay to it. - If a word begins with a vowel, just add way at the end.
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.
Basic algorithms implementation in javascript. Repo follow the freeCodeCamp algorithm video for reference
Find the missing letter in the passed letter range and return it. If all letters are present in the range, return undefined.
Compare two arrays and return a new array with any items only found in one of the two given arrays, but not both. In other words, return the symmetric difference of the two arrays. Note: You can return the array with its elements in any order.
Add a description, image, and links to the freecodecamp-algorithms topic page so that developers can more easily learn about it.
To associate your repository with the freecodecamp-algorithms topic, visit your repo's landing page and select "manage topics."