sashaafm / exads

Algorithms and Data Structures collection in Elixir
83 stars 12 forks source link

Fix binary tree breadth_first_search actually runs like depth first #21

Closed ghost closed 8 years ago

ghost commented 8 years ago

Thank you for starting this cool project. I'd like to contribute back. Found a bug that BinarySearchTree's breadth_first_search actually run like pre-order depth-first traversal. Fixed breadth_first_search and unit test.

sashaafm commented 8 years ago

Thank you for your contribution @jhwsipex :) Feel free to help us out more. Everyone's doing this in their spare time when they can so don't feel any kind of pressure!