VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Collatz Tag System - The Daily Programmer #317

Collatz Tag System - The Daily Programmer #317

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Welcome to another The Daily Programmer series were we solve the problem Collatz Tag System #317 Follow me on KozmicLuis: This is my recursive solution:
const collatz = (_, firstTwo, rest = ) =>
rest + - a: bc, b: a, c: aaa -[firstTwo[0]]
function tagSystem(tape) -
console.log(tape)
if (tape.length > 1)
tagSystem(tape.replace(/-(\w-2-)(\w-)/, collatz))
-

Date: 2022-03-14
Add a review, comment






Other channel videos