Gå til søgefeltetSpring over til navigationSpring til hovedindhold

Snake in Optimal Space and Time.

  • Danmarks Tekniske Universitet
    ,
  • New York University
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-review

Open 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-review

Originalsprog

Udefineret/Ukendt

Sider fra-til (Antal sider)

Sider 3:1-3:15 (15 sider)

Publikationsmilepæle

  • Udgivet - 2024

Publikationsstatus

Udgivet - 2024

Bind

291

Publication IDs

  • Scopus: 85195373023

Titel på værtspublikation

FUN

Relateret event

Titel

International Conference on Fun with Algorithms

Begivenhedstype

Konference

Grad af anerkendelse

International begivenhed

Dato

04/06/2024 - 08/06/2024

Lokation

Island of La MaddalenaSardiniaItalien