This file contains 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
Step 1. Requirements clarifications: | |
1.1 Define use cases with interviewers help. | |
Who is going to use it? | |
How are they going to use it? | |
What does the system do? | |
What are the inputs and outputs of the system? | |
1.2 Ask about additional features. | |
1.3 Remove items that interviewer deems out of scope. | |
1.4 Assume high availability required. Add as a use case. | |
This file contains 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
// При кодировании информации каждый символ заменяется на свой код. | |
// Декодирование для префиксных кодов однозначно и выполняется слева направо. | |
// Чтобы эффективно реализовать процесс декодирования, необходимо хранить информацию о коде в удобной форме. | |
// Например, можно представить код в виде двоичного дерева, листья которого соответствуют кодируемым символам. | |
// А путь от вершины дерева до кодируемого символа определяет кодирующую последовательность битов: поворот налево дает 0, направо — 1. | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.util.HashMap; | |
import java.util.Map; |
This file contains 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
Terraform 3 hrs 57 mins █████████▍░░░░░░░░░░░ 45.0% | |
YAML 2 hrs 44 mins ██████▌░░░░░░░░░░░░░░ 31.2% | |
Bash 51 mins ██░░░░░░░░░░░░░░░░░░░ 9.7% | |
Python 40 mins █▌░░░░░░░░░░░░░░░░░░░ 7.7% | |
Other 25 mins █░░░░░░░░░░░░░░░░░░░░ 4.9% |
This file contains 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
#!/bin/bash | |
################################################################################ | |
# scriptTemplate | |
################################################################################ | |
################################################################################ | |
################################################################################ | |
# # | |
# Copyright (C) 2020 Maksym Voitko # | |
# max.voitko@gmail.com # |
This file contains 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
xclip -sel clip < ~/.ssh/id_rsa.pub |
OlderNewer