Improve the paren matcher algorithm
Solve the stock buyer problem in O(n)