Mastering Fenwick Tree for Competitive Programming
Crack range queries and updates in O(log n) with this powerful and easy-to-implement data structure.
Feb 23, 202611 min read41

Search for a command to run...
Articles tagged with #competitive-programming
Crack range queries and updates in O(log n) with this powerful and easy-to-implement data structure.

A powerful trick to handle complex range queries in competitive programming

Learn how Sqrt Decomposition speeds up range queries

Binary Exponentiation, Primality Testing, and the Euclidean Algorithm Explained for Efficient Coding.

Optimize Event Processing and Interval Queries Like a Pro

Optimize Event Processing and Interval Queries Like a Pro
