/recursion

Recursion problems (Hacker School Friday Challenge #3)

Primary LanguageJavaScript

recursion

Recursion problems (Hacker School Friday Challenge #3)

  1. Naive fibonacci
  2. Memoized fibonacci
  3. Array max
  4. Array sum
  5. Last index of element in array
  6. Binary tree sum
  7. Wordplay: letter permutations of combinations
  8. Step climbing: given the length of the staircase, tells you how many ways there are to go up the steps
  9. Taxi: How many ways are there for a taxi driver to get from the top left of a grid city to the bottom right?