Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- An anagram is the result of rearranging the letters of a word to form a new
- word, using all the original letters exactly once; for example, the word anagram
- can be rearranged into nagaram.
- Using PHP, JavaScript or any language of your choice, implement a function
- “is_anagram” that takes two words, and returns true if the second word is an
- anagram of the first, and false if not.
- is_anagram(hello, hlleo) = true
- is_anagram(test, tast) = false
- ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement