add reverse integer solution
add max profit solution