Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9060733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:18:22+00:00 2026-06-16T15:18:22+00:00

I have a book that explains the over all binary search tree in a

  • 0

I have a book that explains the over all binary search tree in a very bad way i have so far been able to close study my book and get an idea of the binary search tree however i find the explanation for the Binary search tree’s operation Delete

I do understand the two first simple operations:

  • Deleting a leaf (node with no children): Deleting a leaf is easy, as
    we can simply remove it from the tree.
  • Deleting a node with one child: Remove the node and replace it with
    its child.

However the one with two children is really difficult for me to understand, i have already read on wiki and other sites to try and find a solution but i find the explanations to be kinda encrypted.

I was hoping that someone here could give me a more details or explain it in to me another way ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T15:18:23+00:00Added an answer on June 16, 2026 at 3:18 pm

    When the node has two children you have to:

    1. Find the minimum.
    2. Replace the key of the node to be deleted by the minimum element.

    look at this picture:
    we want to delete element 4

    enter image description here

    • 4 has 2 children.

    • find min right sub-tree.

    • 5 found.

    • So, 4 is replaced by 5, and 4 is deleted.

    Hope that is what you are looking for!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a book that explains the theory behind binary search tree in a
I'm new to C. I have a book in front of me that explains
I have been looking for a tutorial that shows or explains how to display
I have a book that explains contravariance/covariance as follows : a delegate can have
I'm new here to stackoverflow, so bear with me. I have a book that
I have a book class, then a novel- and a science book class that
Using Mongoid 2.4.5 on Rails 3.2.1 I have a Model Book that has_many :pages
I have come to know from book that for declaring a structure variable it
I have read in a Java book that says: Because a String is immutable,
I have a book, Essential ActionScript 3 (O'Reilly), to learn about using that language.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.