Keep exactly k digits of a very long number, in their original order, so that the result is as large as possible.
Keep exactly k digits of a very long number, in their original order, so that the result is as large as possible.
Opens with the full question.