Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Range Minimum Queries using Binary Indexed Trees

Revision en1, by safecomp, 2015-12-12 17:59:54

hi everyone , this is my first blog post

recently i have read an excellent article about RMQ with BIT , It was thought that BIT is not suitable for solving minimum/maximum query , but this article show how we can solve RMQ with BIT efficiently

The paper show that the Binary Indexed Tree has the following advantages:

    • Is faster than other data structures that allow the same types of operations.
    • Can be adapted for a large number of distinct operations: sum, minimum, maximum, greatest common divisor (gcd), greatest common factor (gcf), etc.
    • Can be extended on multi-core and distributed platforms.

so now i just want to share the link of paper to everyone who is interested in this topic

Effcient Range Minimum Queries using Binary Indexed Trees

Tags bit, binary indexed tree, rmq, range query

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English safecomp 2015-12-12 17:59:54 882 Initial revision (published)