ncaskey04 / may-20-2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

May 20, 2015

Problem #1 - Anagrams

Write a function which will return true if two given strings are anagrams and false otherwise.

Problem #2 - Addition land

Write a function to implement *, - , / operations only using the + operator

Problem #3 - Between 0 and n.

Write a function to count all the number of 2s between 0 and n

Problem #4 - Caesar Cipher

Write the function CaesarCipher(str, num) take the str parameter and perform a Caesar Cipher shift on it using the num parameter as the shifting number. A Caesar Cipher works by shifting each letter in the string N places down in the alphabet (in this case N will be num). Punctuation, spaces, and capitalization should remain intact. For example if the string is "Caesar Cipher" and num is 2 the output should be "Ecguct Ekrjgt".

About


Languages

Language:JavaScript 100.0%