This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 9y8J6foLGh8dCSs0tqx4lmvo_Md6zEdAcngqdOOe9kM
Cover

How a n00b Programer Climbed The Binary Tree in Ruby

Written by @Phalado | Published on 2020/2/13

TL;DR
An open-source binary tree was created by a Ruby programmer. The balance method in a binary tree is as efficient as the number of nodes in the tree is. In the balance method, the balance time is exponentially smaller than a simple array. The depth of a not balanced tree created by inserting the numbers 3, 6, 10, 9, 5, 1, 4, 7, 0 and 2 in this order. The search method is the one to insert the values in the data struct. It works the same as to find the data, compare your value with the node’s one value.

[story continues]


Written by
@Phalado
Technical Writer on HackerNoon.

Topics and
tags
binary-search|search-tree|ruby|ruby-on-rails|rubygems|microverse|data-structures-and-algorithms|open-source
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 9y8J6foLGh8dCSs0tqx4lmvo_Md6zEdAcngqdOOe9kM