Skip to content

Commit

Permalink
Merge pull request #4 from gocodeup/isaac
Browse files Browse the repository at this point in the history
Isaac
  • Loading branch information
JDStraughan committed Feb 18, 2014
2 parents 54439fe + 2a3c350 commit ddec0be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions alphabet_soup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Alphabet Soup

Create a function alphabet_soup($str) that accepts a string and will
return the string in alphabetical order. E.g. "hello world" becomes
"ehllo dlorw". So make sure your function separates and alphabetizes
each word separately.
13 changes: 13 additions & 0 deletions palindrome/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Palindrome

Create a function that can detect whether a word is a palindrome or not. A palindrome is a word that can be interpreted the same way in reverse order.

[Palindrome on Wiki](http://en.wikipedia.org/wiki/Palindrome)

Create the function so it will return a bool value true if the entered word is a palindrome. Function name example could be is_palindrome(). After you are complete test several known palindromes, then test regular words in your function.

## Try the following known palindromes in your function

1. Amore, Roma
2. A man, a plan, a canal: Panama
3. No 'x' in 'Nixon

0 comments on commit ddec0be

Please sign in to comment.