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

https://github.com/pplmx/algo-py

Algorithm practice in Python
https://github.com/pplmx/algo-py

algorithms algorithms-and-data-structures

Last synced: 6 months ago
JSON representation

Algorithm practice in Python

Awesome Lists containing this project

README

          

# algo-py

Algorithm practice in Python.

## How to Run Tests

```shell
uv run pytest
```

## How to Add a New Problem

```bash
# python scripts/new_problem.py
uv run scripts/new_problem.py 2 add_two_numbers
uv run scripts/new_problem.py 3 longest-substring-without-repeating-characters
uv run scripts/new_problem.py 3 "longest substring without repeating characters"
uv run scripts/new_problem.py 4 "median-of-two-sorted-arrays"
uv run scripts/new_problem.py 5 "LongestPalindromicSubstring"
```