This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Good morning. | |
I am interested in your position and will be glad to start collaboration with you. | |
Short version of my CV - https://github.com/ArtyomKaltovich/latex-cv/blob/master/short.pdf | |
The long one - https://github.com/ArtyomKaltovich/latex-cv/blob/master/cv.pdf | |
Best regards, | |
Artsiom Kaltovich |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import enum | |
import bisect | |
from collections import deque | |
from typing import Union, List | |
class SuffixTreeBuildingMethod(enum.Enum): | |
naive = enum.auto() | |
ukkonen = enum.auto() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/33945261/how-to-specify-multiple-return-types-using-type-hints | |
https://youtu.be/SJ8z-TF07s4?t=17m55s - Удаление(очищение) __dict__ | |
https://youtu.be/SJ8z-TF07s4?t=1h21m22s - можно задавать свои строки формата | |
# упрощение кода | |
https://speakerdeck.com/pyconslides/transforming-code-into-beautiful-idiomatic-python-by-raymond-hettinger-1 | |
https://gist.github.com/0x4D31/f0b633548d8e0cfb66ee3bea6a0deff9 | |
yeild и yeild from как операторы, хз зачем :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Python - интерпретируемый язык, это значит, что программа, выполняющая код (интерпретатор), извлекает команды по очереди | |
# и выполняет их одна за одной. Это привод к тому, что некоторые ошибки будет видно, только при выполнении кода | |
print("str" + 1) # -> TypeError: cannot concatenate 'str' and 'int' object | |
# Однако, если этот код не выполнится, то вы не узнаете об этой ошибке, в отличии от компилируемых языков, | |
# которые бы выдали вам ошибку во время компиляции и отказались бы запускать такой код. | |
if False: | |
print("str" + 1) # -> Process finished with exit code 0 | |
# exit code 0 - успешное завершение команды, при все остальные значение означают, что произошла ошибка |