cp-geeks-adgitm / Hacktoberfest

Everyone is free to contribute. Not eligible for Hacktoberfest
GNU General Public License v3.0
32 stars 95 forks source link

Tree Distances 2 CSES #270

Closed 18o3 closed 1 year ago

18o3 commented 1 year ago

Found the sum of distances for each node to all other nodes using tree dp approach. Code in C++

18o3 commented 1 year ago

This is a Hacktoberfest PR so can you please add the "HACKTOBERFEST-ACCEPTED LABEL" if you merge my pull request . Thank You