An open API service indexing awesome lists of open source software.

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 ๐Ÿ

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
```