Lecture notes, Code with comments.
Here are my lecture notes after completing the trainings on Algorithms from Yandex. Hope they will be useful and you enjoy it!