coding exercises from optimum