Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nguyenvukhang/aquarium


https://github.com/nguyenvukhang/aquarium

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# Aquarium Solver

## Problem Set Source

To obtain sample problems, use the
`https://aquarium2.vercel.app/api/get` API endpoint.

```
https://aquarium2.vercel.app/api/get?id=MDo4LDM0MCw5OTA=
```

The response will take this shape:

```json
{
"id": "MDo2LDA3MCw1NzI=",
"size": 6,
"sums": {
"cols": [2, 4, 5, 5, 4, 2],
"rows": [4, 3, 4, 4, 2, 5]
},
"matrix": [
[1, 2, 2, 2, 2, 3],
[1, 1, 2, 4, 2, 3],
[1, 2, 2, 4, 4, 3],
[1, 2, 2, 2, 2, 3],
[1, 5, 5, 5, 6, 3],
[1, 1, 1, 5, 6, 3]
]
}
```

As specified in the [API endpoint](problemset/pages/api/get.ts)