Code-Crossroad
Code-Crossroad copied to clipboard
Diameter of Binary Tree added
I have added the C++ code for Diameter of a Binary Tree Please review my code.
Fixes #47
Hey @neha030! As per the contribution guidelines, can you describe your algorithm in brief at the starting of your code? Also, your code uses O(n^2) complexity, can you optimize it?
Hey @neha030! As per the contribution guidelines, can you describe your algorithm in brief at the starting of your code? Also, your code uses O(n^2) complexity, can you optimize it?
Ok I will add the Description of the algorithm and try to optimize it