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.
| Original language | Undefined/Unknown |
|---|---|
| Title of host publication | FUN |
| Number of pages | 15 |
| Volume | 291 |
| Publication date | 2024 |
| Pages | 3:1-3:15 |
| DOIs | |
| Publication status | Published - 2024 |
| Externally published | Yes |
| Event | International Conference on Fun with Algorithms - Island of La Maddalena, Sardinia, Italy Duration: 4 Jun 2024 → 8 Jun 2024 Conference number: 12 https://sites.google.com/unipi.it/fun2024 |
Conference
| Conference | International Conference on Fun with Algorithms |
|---|---|
| Number | 12 |
| Location | Island of La Maddalena |
| Country/Territory | Italy |
| City | Sardinia |
| Period | 04/06/2024 → 08/06/2024 |
| Internet address |
Keywords
- Data structure
- Nokia
- Snake
- String algorithms
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver