Skip to content

Instantly share code, notes, and snippets.

@nhuntwalker
Last active October 27, 2017 19:11
Show Gist options
  • Save nhuntwalker/90de6daf5cff246b8f626aa53ac2c14b to your computer and use it in GitHub Desktop.
Save nhuntwalker/90de6daf5cff246b8f626aa53ac2c14b to your computer and use it in GitHub Desktop.
'part' and 'rapt' are anagrams
'apple' and 'papel' are anagrams
"rail safety" and "fairy tales" are anagrams
'foo' and 'bar' are not anagrams
'too' and 'to' are not anagrams
'AAA' and 'aaa' are not anagrams
Write a function that will check if two strings are anagrams of each other. Assume the strings have at least one character. Return a boolean. Be case sensitive
email the link to your public gist: nicholas@codefellows.com
end time: 11:40am
----
Whiteboard Challenge: Write a function that will detect a cycle in a singly-linked list and return a boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment