Pergunta de entrevista da empresa Yandex

Quicksort modification Git - how to change the last commit