Skip to main content
Top

2016 | OriginalPaper | Chapter

On Determination of Balance Ratio for Some Tree Structures

Authors : Daxin Zhu, Tinran Wang, Xiaodong Wang

Published in: Network and Parallel Computing

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

In this paper, we studies the problem to find the maximal number of red nodes of a kind of balanced binary search tree. We have presented a dynamic programming formula for computing r(n), the maximal number of red nodes of a red-black tree with n keys. The first dynamic programming algorithm uses \(O(n^2\log n)\) time and uses \(O(n\log n)\) space. The basic algorithm is then improved to a more efficient O(n) time algorithm. The time complexity of the new algorithm is finally reduced to O(n) and the space is reduced to only \(O(\log n)\).

Dont have a licence yet? Then find out more about our products and how to get one now:

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!

Literature
1.
3.
go back to reference Goodrich, M.T., Tamassia, R.: Algorithm Design and Applications. Wiley, Hoboken (2015)MATH Goodrich, M.T., Tamassia, R.: Algorithm Design and Applications. Wiley, Hoboken (2015)MATH
4.
go back to reference Guibas, L.J., Sedgewick, R.: A dichromatic framework for balanced trees. In: 19th FOCS, pp. 8–21 (1978) Guibas, L.J., Sedgewick, R.: A dichromatic framework for balanced trees. In: 19th FOCS, pp. 8–21 (1978)
5.
go back to reference Heejin, P., Kunsoo, P.: Parallel algorithms for redCblack trees. Theor. Comput. Sci. 262(1–2), 415–435 (2001) Heejin, P., Kunsoo, P.: Parallel algorithms for redCblack trees. Theor. Comput. Sci. 262(1–2), 415–435 (2001)
7.
go back to reference Warren, H.S.: Hackers Delight, 2nd edn. Addison-Wesley, New York (2002) Warren, H.S.: Hackers Delight, 2nd edn. Addison-Wesley, New York (2002)
8.
go back to reference Weiss, M.A.: Data Structures and Problem Solving Using C++, 2nd edn. Addison-Wesley, New York (2000) Weiss, M.A.: Data Structures and Problem Solving Using C++, 2nd edn. Addison-Wesley, New York (2000)
Metadata
Title
On Determination of Balance Ratio for Some Tree Structures
Authors
Daxin Zhu
Tinran Wang
Xiaodong Wang
Copyright Year
2016
DOI
https://doi.org/10.1007/978-3-319-47099-3_17

Premium Partner