Skip to main content

2021 | OriginalPaper | Buchkapitel

An Algorithm for Determining if a BST Node’s Value Can Be Changed in Place

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

A binary search tree (BST) is a strictly ordered data structure that permits quick storage and access of its data. Changing a value in a node of a BST requires ascertaining that such an update will not violate the tree’s order; otherwise the update requires replacing the source node with a new node (in a different location). In this work, an algorithm for determining whether a value in a BST can be updated within an existing node will be developed. It provides experience in algorithmic development for students and may lead to improvements in more complex tree structures.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat R.G. Casey, Design of tree structures for efficient querying. Commun. ACM 16(9), 549–556 (1973)CrossRef R.G. Casey, Design of tree structures for efficient querying. Commun. ACM 16(9), 549–556 (1973)CrossRef
2.
Zurück zum Zitat P.M. Fenwick, A new data structure for cumulative frequency table. Softw-Pract. Exp. 24(3), 327–336 (1994)CrossRef P.M. Fenwick, A new data structure for cumulative frequency table. Softw-Pract. Exp. 24(3), 327–336 (1994)CrossRef
3.
Zurück zum Zitat W.E. Kluge, Traversing binary tree structures with shift register memories, in ISCA '76: Proceedings of the 3rd Annual Symposium on Computer Architecture, (1976), p. 121.1 W.E. Kluge, Traversing binary tree structures with shift register memories, in ISCA '76: Proceedings of the 3rd Annual Symposium on Computer Architecture, (1976), p. 121.1
4.
Zurück zum Zitat U.-M. O’Reilly, Genetic Programming a Tutorial Introduction, Genetic & Evolutionary Computation Conference (GECCO ‘11), Power Point Presentation, (2011) U.-M. O’Reilly, Genetic Programming a Tutorial Introduction, Genetic & Evolutionary Computation Conference (GECCO ‘11), Power Point Presentation, (2011)
6.
Zurück zum Zitat K. Shockley, The family binary tree, in ACM '76: Proceedings of the 1976 Annual Conference, (1976), pp. 546–550CrossRef K. Shockley, The family binary tree, in ACM '76: Proceedings of the 1976 Annual Conference, (1976), pp. 546–550CrossRef
7.
Zurück zum Zitat M.A. Weiss, Data Structures and Problem Solving using Java, 2nd edn. (Addison-Wesley, 2000), pp. 640–652 M.A. Weiss, Data Structures and Problem Solving using Java, 2nd edn. (Addison-Wesley, 2000), pp. 640–652
Metadaten
Titel
An Algorithm for Determining if a BST Node’s Value Can Be Changed in Place
verfasst von
Daniel S. Spiegel
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-70873-3_22

Neuer Inhalt