add buy sell stock problem and max subArray problem