Deletion of a node in binary search tree. There is a logical error some where but i couldn't able to figure it out?

前端 未结 0 1608
陌清茗
陌清茗 2021-02-01 02:55
class Tree 
  attr_accessor :root
    
  def initialize 
    @root=nil
  end

  private
    
    def get_new_node(node)
      Node.new(node)
    end

  public  

  def i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题