Abstract
We revisit the classic game of Snake and ask the basic data structural question: how many bits does it take to represent the state of a snake game so that it can be updated in constant time? Our main result is a data structure that uses optimal space (within constant factors). To achieve our results, we introduce several interesting data structural techniques, including a decomposition technique for the problem, a tabulation scheme for encoding small subproblems, and a dynamic memory allocation scheme.
| Originalsprog | Udefineret/Ukendt |
|---|---|
| Titel | FUN |
| Antal sider | 15 |
| Vol/bind | 291 |
| Publikationsdato | 2024 |
| Sider | 3:1-3:15 |
| DOI | |
| Status | Udgivet - 2024 |
| Udgivet eksternt | Ja |
| Begivenhed | International Conference on Fun with Algorithms - Island of La Maddalena, Sardinia, Italien Varighed: 4 jun. 2024 → 8 jun. 2024 Konferencens nummer: 12 https://sites.google.com/unipi.it/fun2024 |
Konference
| Konference | International Conference on Fun with Algorithms |
|---|---|
| Nummer | 12 |
| Lokation | Island of La Maddalena |
| Land/Område | Italien |
| By | Sardinia |
| Periode | 04/06/2024 → 08/06/2024 |
| Internetadresse |
Citationsformater
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver