Initially, I thought the programming task was at easy level, but it took me roughly a day for the project considering no time constraint.
While I could easily achieve a basic solution that works, refining it to be clean, modular, fully-tested, and well-documented definitely presented a challenge.
Overall, it was an excellent opportunity to sharpen must-have Python skills.
- Python (>3.9.1)
- Docker (optional)
A single make
command will install all required dependencies and execute the unit tests.
make
./src/pattern_to_text PATTERN INTEGERS
: run the program with the given argumentsmake test
: run unit testsmake run
: run the program with default argumentsmake clean
: remove temporary files
make build_image
docker run pattern-to-text SST 5 2