TheAlgorithms-C-Plus-Plus/range_queries
Soham Roy 61cbc630c3
fix: max length of arrays and coding style (#1614)
* Fixed array max length and coding style

Max length of arrays was previously an absurdly high integer, instead implemented a numerical upper bound using log2 (max depth of seg tree being logn). Removed `using namespace std;` and `typedef long long ll;` and other competitive coding practices. Added input prompts.

* Fixed remaining clang-tidy warnings

* Replaced reference parameters with const & or *

* Self-tests and documentation

* Improved documentation

* Added author names

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 10:08:42 -05:00
..
fenwick_tree.cpp fix: Remove FenwickTree (#856) 2020-06-22 01:11:08 +05:30
heavy_light_decomposition.cpp Added heavy_light_decomposition.cpp (#1016) 2020-08-19 14:40:46 -05:00
mo.cpp Major rework to improve code quality and add automation checks (#805) 2020-06-19 21:34:56 +05:30
persistent_seg_tree_lazy_prop.cpp feat: Added persistent segment tree with lazy propagation (#1445) 2021-02-08 11:19:26 -06:00
prefix_sum_array.cpp feat: add prefix sum array data structure (#1663) 2021-10-15 11:17:10 -05:00
segtree.cpp fix: max length of arrays and coding style (#1614) 2021-10-18 10:08:42 -05:00
sparse_table.cpp Added Sparse Table for range query (#996) 2020-10-16 12:38:00 -04:00