https://github.com/theoboldalex/kata-machine-python
A port of ThePrimeagen's Kata-Machine from TypeScript to Python ๐
https://github.com/theoboldalex/kata-machine-python
algorithms-and-data-structures interview-preparation
Last synced: 8 months ago
JSON representation
A port of ThePrimeagen's Kata-Machine from TypeScript to Python ๐
- Host: GitHub
- URL: https://github.com/theoboldalex/kata-machine-python
- Owner: theoboldalex
- Created: 2022-12-14T19:39:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-18T13:45:29.000Z (almost 3 years ago)
- Last Synced: 2025-02-07T09:17:27.915Z (10 months ago)
- Topics: algorithms-and-data-structures, interview-preparation
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฅทKata Machine Python๐
This is a port of [ThePrimeagen](https://github.com/ThePrimeagen)'s Kata Machine repo used in his Front End Masters course.
It contains a host of algorithm problems that in the original repo are written in Typescript. This repo simply converts the
tests and implemetation files to Python.
To scaffold the implementation files, and ensure you have the required dependencies, first create and activate a virtual environment
```shell
python3 -m venv .venv
source .venv/bin/activate
```
Next, install the dependencies with the Makefile
```shell
make install
```
Then scaffold the implementation files with
```shell
make generate
```
To run the tests, again, use the Makefile
```shell
make test
```
or to run a single test file
```shell
make test file=linear_search_list
```