Method: Algorithmable::DataStructs::Tree#new_ordered_binary_tree
- Defined in:
- lib/algorithmable/data_structs/tree.rb
#new_ordered_binary_tree(collection = []) ⇒ Object
8 9 10 |
# File 'lib/algorithmable/data_structs/tree.rb', line 8 def new_ordered_binary_tree(collection = []) BinarySearch.new(collection) end |