Skip to content

Commit 416a3bc

Browse files
aneee004Panquesito7github-actionskvedala
authored
Added heavy_light_decomposition.cpp (#1016)
* Added heavy_light_decomposition.cpp * Update range_queries/heavy_light_decomposition.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update range_queries/heavy_light_decomposition.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update range_queries/heavy_light_decomposition.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Added function documentation TODO: Data member documentation. * Update heavy_light_decomposition.cpp * Update heavy_light_decomposition.cpp * Corrected typos, and remove comma * Corrected typos, and removed comma * Edited comments * Update range_queries/heavy_light_decomposition.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Added wiki * Create c-cpp.yml * updating DIRECTORY.md * Delete c-cpp.yml * Added namespace, Removed quoted @params * updating DIRECTORY.md * clang-tidy fixes for 25f16d7 * Update heavy_light_decomposition.cpp * Update heavy_light_decomposition.cpp * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * Edited Comments * clang-tidy fixes for 07b46bb * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * Fixed markdown * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * Edited comments * Update heavy_light_decomposition.cpp * Update heavy_light_decomposition.cpp * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com> * Apply suggestions from code review Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com> * Added data member documentation * Formatted Code * Edited data member comments * Update range_queries/heavy_light_decomposition.cpp Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com> * Update heavy_light_decomposition.cpp * Added testcase verification * Update heavy_light_decomposition.cpp * Added a new test case Co-authored-by: David Leal <halfpacho@gmail.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
1 parent 4a34bec commit 416a3bc

File tree

2 files changed

+640
-0
lines changed

2 files changed

+640
-0
lines changed

DIRECTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@
204204

205205
## Range Queries
206206
* [Fenwick Tree](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/fenwick_tree.cpp)
207+
* [Heavy Light Decomposition](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/heavy_light_decomposition.cpp)
207208
* [Mo](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/mo.cpp)
208209
* [Segtree](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/range_queries/segtree.cpp)
209210

0 commit comments

Comments
 (0)