Skip to content

DianaLeit/codewars-solved

Repository files navigation

codewars

My solutions for Codewars katas

BuildTower.js
Build a pyramid-shaped tower, as an array/list of strings, given a positive integer
number of floors. A tower block is represented with "*" character.

decodeMorse.js
Write a simple Morse code decoder.

FibonacciFizzBuzz.js
Produce a fibonacci sequence in the form of an array, containing
a number of items equal to the input provided.
Replace all numbers in the sequence divisible by 3 with Fizz,
those divisible by 5 with Buzz, and those divisible by both 3 and 5 with FizzBuzz.

NarcissisticNumber.js
Return true or false depending upon whether the given number is a Narcissistic number
in base 10. A Narcissistic Number is a positive number which is the sum of its own digits,
each raised to the power of the number of digits in a given base.

SpinWords.js
Write a function that takes in a string of one or more words, and returns the same string,
but with all five or more letter words reversed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published