Title: The connection between optimal stopping problems and optimal control problems in discrete time