Snake in Optimal Space and Time.

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelKonferencebidrag i proceedingsForskningpeer review

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.
OriginalsprogUdefineret/Ukendt
TitelFUN
Antal sider15
Vol/bind291
Publikationsdato2024
Sider3:1-3:15
DOI
StatusUdgivet - 2024
Udgivet eksterntJa
BegivenhedInternational Conference on Fun with Algorithms - Island of La Maddalena, Sardinia, Italien
Varighed: 4 jun. 20248 jun. 2024
Konferencens nummer: 12
https://sites.google.com/unipi.it/fun2024

Konference

KonferenceInternational Conference on Fun with Algorithms
Nummer12
LokationIsland of La Maddalena
Land/OmrådeItalien
BySardinia
Periode04/06/202408/06/2024
Internetadresse

Citationsformater