This is an old revision of this page, as edited by Cewbot(talk | contribs) at 06:12, 9 January 2024(Maintain {{WPBS}} and vital articles: 3 WikiProject templates. Merge {{VA}} into {{WPBS}}. Keep majority rating "GA" in {{WPBS}}. Remove 3 same ratings as {{WPBS}} in {{WikiProject Mathematics}}, {{WikiProject Computing}}, {{WikiProject Computer science}}.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 06:12, 9 January 2024 by Cewbot(talk | contribs)(Maintain {{WPBS}} and vital articles: 3 WikiProject templates. Merge {{VA}} into {{WPBS}}. Keep majority rating "GA" in {{WPBS}}. Remove 3 same ratings as {{WPBS}} in {{WikiProject Mathematics}}, {{WikiProject Computing}}, {{WikiProject Computer science}}.)
This is the talk page for discussing improvements to the Binary search tree article. This is not a forum for general discussion of the article's subject.
This article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.MathematicsWikipedia:WikiProject MathematicsTemplate:WikiProject Mathematicsmathematics
This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.ComputingWikipedia:WikiProject ComputingTemplate:WikiProject ComputingComputing
This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Computer scienceWikipedia:WikiProject Computer scienceTemplate:WikiProject Computer scienceComputer science
The anchors may have been removed, renamed, or are no longer valid. Please fix them by following the link above, checking the page history of the target pages, or updating the links.
Remove this template after the problem is fixed | Report an error
The currently misleading Deletion subsection
I edited the Deletion subsection to highlight the three distinct cases. Previously, the text said "three cases" but listed five. Someone quickly reverted this change to show five cases again (while the text still says three cases), simply with the explanation that "last version was better". I beg to differ, as the text vs list is simply misleading and as a matter of preference, I claim that my edit was a good improvement over the reverted version.
Deletion does have three cases: (1) if a node have no children, (2) if a node have one children, and (3) if a node have two children. In case (3) have two cases: if the node to be deleted (call it X) have both left and right children, we try to find X's successor (call it Y), and if (3a) Y is X's right child we replace X by Y, but if (3b) Y lies within X's right subtree but not X's right child, we first replace Y by its own right child, then replace X with Y.So, deletion itself have three cases (1), (2), and (3); but (3) have two cases within (3a) and (3b).It ought to be indented -- I will make the changes. --WikiLinuz {talk} 22:55, 10 July 2023 (UTC)[reply]
Indenting the text was exactly how I changed the list, so I don't understand the sudden reversion. Truly, I moreover added highlights in bold text to emphasize the three cases. The latter highlighting was however supposedly a matter of preference, but on the other hand also a distinct change, but both the indentation change and the highlight change was reverted.
I see that you are a major contributor to the article, for which I express my gratitude. However, I suggest letting more people improving this (or any other) document and be reluctant to hit "revert" until objective reasons can be made (such as changing the text into blatant falsehoods or obvious vandalism). Qrwe~enwiki (talk) 11:49, 11 July 2023 (UTC)[reply]
You replaced the Wikitext list with HTML tags, introduced bold texts that violate MOS:BOLD, and wrote "fig. 2" when the picture was not a thumbnail (and there was no caption). This article is a WP:GA so such changes ought to be avoided unless it clearly improves the article (which in this case, it does not). The article is already copyedited, and I replaced the picture in the deletion subsection with a more illustrative one. --WikiLinuz {talk} 23:15, 11 July 2023 (UTC)[reply]