Hm. Whilst looking up some of your terminology -- LCA; Sparse Table -- I ran across this. Maybe you've seen it already, but it sounds vaguely related.
Maybe you'll understand it well enough to work out how to implement it. Assuming it is actually useful.
In reply to Re^5: bit-vector > global minimum
by BrowserUk
in thread bit-vector > global minimum
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |