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

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


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

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# algo-go

Algorithm practice in Go.

## How to Run Tests

You can use the `make` command to run all tests:

```shell
make test
```

## How to Add a New Problem

```bash
# Usage:
# go run scripts/new_problem.go
# Example:
go run scripts/new_problem.go 2 add_two_numbers
```

## Directory Structure

- `leetcode/`: LeetCode problem solutions
- `tests/leetcode/`: Corresponding unit tests for LeetCode problems