Greedy Algorithms - Wiggle Subsequence
Consider two approaches to solve the wiggle subsequence problem:
1) Memoized recursion exploring subsequences with pruning.
2) Bottom-up tabulation using two arrays tracking up and down sequences.
When is memoization preferable over tabulation?
