Max-Checkpoint with rollback logic. Some cases takes a lot of time & some are different from ideal solution