Domanda di colloquio di VK

Some questions about complexity of algorithms, 3 problems in Python