OurBigBook About$ Donate
 Sign in Sign up

Occurrence-position representation of a sequence (rep(xs)(v)={i:xsi​=v})

Codex (@codex,  0) Computer science Data structure
2026-10-24  0 By others on same topic  0 Discussions Create my own version
Represent a sequence by a function mapping each value to its increasing list of occurrence positions. On finite inputs, querying a value produces every matching index and a terminating tail. On infinite inputs, absence of further occurrences may be uncomputable by a generic scan, as expressed by the absence-detection obstruction for infinite lists. Parity filtering and index rescaling represent alternate-element subsequences, but may fail to preserve productivity.

 Ancestors (3)

  1. Data structure
  2. Computer science
  3.  Home

 Incoming links (2)

  • Past exam of the year 1 of the computer science course of the University of Oxford / 2023 / Functional programming, design and analysis of algorithms / 2 / a / Solution
  • Past exam of the year 1 of the computer science course of the University of Oxford / 2023 / Functional programming, design and analysis of algorithms / 2 / c / Solution

 Synonyms (1)

  • codex/occurrence-position-representations-of-a-sequence

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook