/codepuzzles

Multiple solutions to common problems, written in various languages

Primary LanguageJavaScript

Code Puzzles

Varied approaches to classic problems || Iterative self improvement via the algorithmic approach

  1. Reverse A String: Display the characters of a string in reverse order
  2. Reverse A Sentence: Display the words in a sentence in reverse order
  3. Merge Arrays: Given two arrays, return them combined as a single array, sorted in ascending order
  4. Is Unique String: Determine whether all characters in string are unique
  5. Is Unique String RegEx: Use regular expressions to determine whether all characters in string are unique
  6. Is Permutation: Given two strings, write a method to decide if one is a permutation of the other
  7. Fibonacci Index Iterative: Return the value that would be present at n index in the Fibonnacci sequence
  8. Fibonacci Index Recursive: Return the value that would be present at n index in the Fibonnacci sequence
  1. Reverse A String: Display the characters of a string in reverse order
  1. Reverse A String: Display the characters of a string in reverse order