Snake in Optimal Space and Time.
- Philip Bille,
- Martín Farach-Colton,
- Inge Li Gørtz,
- Danmarks Tekniske Universitet,
- New York University
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-reviewOpen Access
Resume
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.
Publikation information
Produktionstype
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-reviewOriginalsprog
Udefineret/UkendtSider fra-til (Antal sider)
Sider 3:1-3:15 (15 sider)Publikationsmilepæle
- Udgivet - 2024
Publikationsstatus
Udgivet - 2024
Bind
291Publication IDs
- Scopus: 85195373023
Titel på værtspublikation
FUNRelateret event
Titel
International Conference on Fun with Algorithms
Begivenhedstype
KonferenceGrad af anerkendelse
International begivenhedDato
04/06/2024 - 08/06/2024Lokation
Island of La MaddalenaSardiniaItalien
