Module: Algorithmable::DataStructs::Tree
- Included in:
- Algorithmable::DataStructs
- Defined in:
- lib/algorithmable/data_structs/tree.rb,
lib/algorithmable/data_structs/tree/binary.rb,
lib/algorithmable/data_structs/tree/binary_search.rb
Defined Under Namespace
Classes: Binary, BinarySearch
Instance Method Summary collapse
Instance Method Details
#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 |