# AGENTS.md

✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% | LeetCode 题解

## Setup

```
go mod download
```

## Commands

```
go test ./...   # run the test suite
```

## Layout

- `leetcode/`   1596 source files
- `website/`    57 source files
- `ctl/`        18 source files
- `structures/` 18 source files
- `template/`   10 source files

## Conventions

- Tests live alongside the code they cover, following `leetcode/0001.Two-Sum/1. Two Sum_test.go`.
- CI defines what passing means. See `.github/workflows/deploy.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `website/public/en.search-data.min.e6589f2e5ab7da3b9eb0bee1547f56f85b01d9cfe3db227ce6aee35ac05e6560.js` is 2668KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
