Daily Coding Exercises to sharpen problem solving skills
-
Updated
Sep 29, 2023 - JavaScript
Daily Coding Exercises to sharpen problem solving skills
code wars solution to Counting Valleys on codeWars.com for JavaScript
"The Shell Game" involves cups upturned on a playing surface, with a ball placed underneath one of them. The index of the cups are swapped around multiple times. After that the players will try to find which cup contains the ball. Your task is as follows. Given the cup that the ball starts under, and list of swaps, return the location of the bal…
ROT13 is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet. ROT13 is an example of the Caesar cipher. Create a function that takes a string and returns the string ciphered with Rot13. If there are numbers or special characters included in the string, they should be returned as they are…
If you have completed the Tribonacci sequence kata, you would know by now that mister Fibonacci has at least a bigger brother. If not, give it a quick look to get how things work. Well, time to expand the family a little more: think of a Quadribonacci starting with a signature of 4 elements and each following element is the sum of the 4 previous…
Codewars solutions
Add a description, image, and links to the code-wars topic page so that developers can more easily learn about it.
To associate your repository with the code-wars topic, visit your repo's landing page and select "manage topics."