code-shoily / algorithms-in-dart

Implementation of data structures and algorithms in Dart programming language.
223 stars 77 forks source link

Add function to balance height of the binary tree #5

Closed happy-san closed 4 years ago

happy-san commented 4 years ago

Hey, @code-shoily would a balance function be good addition to BinaryTree class? I can open PR.

code-shoily commented 4 years ago

Go ahead! I was going to implement AVL and Red Black Tree later any way but adding a balance function would be good now too

On Mon., Aug. 31, 2020, 7:35 p.m. Harpreet Sangar, notifications@github.com wrote:

Hey, @code-shoily https://github.com/code-shoily would a balance function be good addition to BinaryTree class? I can open PR.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/code-shoily/algorithms-in-dart/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLQEC5LCB67QOKKCI4KUUDSDQXVXANCNFSM4QRB4EYQ .

happy-san commented 4 years ago

hey, here }); is missing, my bad :3