You could have invented Fenwick trees

Guardado en:
Detalles Bibliográficos
Publicado en:Journal of Functional Programming vol. 35 (Jan 2025)
Autor principal: Yorgey, Brent
Publicado:
Cambridge University Press
Materias:
Acceso en línea:Citation/Abstract
Full Text - PDF
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!

MARC

LEADER 00000nab a2200000uu 4500
001 3156319946
003 UK-CbPIL
022 |a 0956-7968 
022 |a 1469-7653 
024 7 |a 10.1017/S0956796824000169  |2 doi 
035 |a 3156319946 
045 2 |b d20250101  |b d20250131 
084 |a 79046  |2 nlm 
100 1 |a Yorgey, Brent  |u Hendrix College, 1600 Washington Ave, Conway, AR 72032, USA (e-mail: yorgey@hendrix.edu ) 
245 1 |a You could have invented Fenwick trees 
260 |b Cambridge University Press  |c Jan 2025 
513 |a Journal Article 
520 3 |a Fenwick trees, also known as binary indexed trees are a clever solution to the problem of maintaining a sequence of values while allowing both updates and range queries in sublinear time. Their implementation is concise and efficient—but also somewhat baffling, consisting largely of nonobvious bitwise operations on indices. We begin with segment trees, a much more straightforward, easy-to-verify, purely functional solution to the problem, and use equational reasoning to explain the implementation of Fenwick trees as an optimized variant, making use of a Haskell EDSL for operations on infinite two’s complement binary numbers. 
653 |a Queries 
773 0 |t Journal of Functional Programming  |g vol. 35 (Jan 2025) 
786 0 |d ProQuest  |t Advanced Technologies & Aerospace Database 
856 4 1 |3 Citation/Abstract  |u https://www.proquest.com/docview/3156319946/abstract/embedded/7BTGNMKEMPT1V9Z2?source=fedsrch 
856 4 0 |3 Full Text - PDF  |u https://www.proquest.com/docview/3156319946/fulltextPDF/embedded/7BTGNMKEMPT1V9Z2?source=fedsrch