requirement

  • We want to enumerate from the deletable set those satisfying the condition expressed by the inequality sign
  • For example, if sorted array, dichotomous search can find the boundary satisfying the inequality condition in logarithmic order
    • But deleting from the array takes a linear order.
  • Fast deletion linked list does not allow bisection search because random access is not possible

(key to) solution - Use [Fennic tree


This page is auto-translated from /nishio/削除可能集合で不等号条件 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.