Skip to content
#

algorithm-scripting

Here are 25 public repositories matching this topic...

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.

  • Updated Mar 20, 2023
  • JavaScript

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 :)

  • Updated Sep 14, 2023
  • JavaScript

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

  • Updated Mar 20, 2023
  • JavaScript

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.

  • Updated Mar 20, 2023
  • JavaScript

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.

  • Updated Mar 20, 2023
  • JavaScript

Improve this page

Add a description, image, and links to the algorithm-scripting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the algorithm-scripting topic, visit your repo's landing page and select "manage topics."

Learn more