Comparing leaf and root insertion

dc.contributor.authorGeldenhuys, Jacoen_ZA
dc.contributor.authorVan der Merwe, Brinken_ZA
dc.date.accessioned2019-10-22T10:24:20Z
dc.date.available2019-10-22T10:24:20Z
dc.date.issued2009
dc.descriptionCITATION: Geldenhuys, J. & Van der Merwe, B. 2009. Comparing leaf and root insertion. South African Computer Journal, 44:30-38, doi:10.18489/sacj.v44i0.21.
dc.descriptionThe original publication is available at http://sacj.cs.uct.ac.za
dc.description.abstractWe consider two ways of inserting a key into a binary search tree: leaf insertion which is the standard method, and root insertion which involves additional rotations. Although the respective cost of constructing leaf and root insertion binary search trees trees, in terms of comparisons, are the same in the average case, we show that in the worst case the construction of a root insertion binary search tree needs approximately 50% of the number of comparisons required by leaf insertion.en_ZA
dc.description.urihttp://sacj.cs.uct.ac.za/index.php/sacj/article/view/21
dc.description.versionPublisher's version
dc.format.extent9 pages
dc.identifier.citationGeldenhuys, J. & Van der Merwe, B. 2009. Comparing leaf and root insertion. South African Computer Journal, 44:30-38, doi:10.18489/sacj.v44i0.21.
dc.identifier.issn2313-7835 (online)
dc.identifier.otherdoi:10.18489/sacj.v44i0.21
dc.identifier.urihttp://hdl.handle.net/10019.1/106691
dc.language.isoen_ZAen_ZA
dc.publisherSouth African Institute of Computer Scientists and Information Technologists
dc.rights.holderAuthors retain copyright
dc.subjectComputer programmingen_ZA
dc.subjectBinary search treeen_ZA
dc.titleComparing leaf and root insertionen_ZA
dc.typeArticleen_ZA
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
geldenhuys_comparing_2009.pdf
Size:
215.7 KB
Format:
Adobe Portable Document Format
Description:
Download article
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: