use old style for loop
bubble sort
fib
max sub array
linear time DP max sub array