A note on the largest number of red nodes in red-black trees

From MaRDI portal
Publication:2397154

DOI10.1016/J.JDA.2017.03.001zbMATH Open1407.68117arXiv1406.3092OpenAlexW2963338499MaRDI QIDQ2397154FDOQ2397154


Authors: Daxin Zhu, Yingjie Wu, Lei Wang, Xiaodong Wang Edit this on Wikidata


Publication date: 29 May 2017

Published in: Journal of Discrete Algorithms (Search for Journal in Brave)

Abstract: In this paper, we are interested in the number of red nodes in red-black trees. We first present an O(n2logn) time dynamic programming solution for computing r(n), the largest number of red internal nodes in a red-black tree on n keys. Then the algorithm is improved to some O(logn) time recursive and nonrecursive algorithms. Based on these improved algorithms we finally find a closed-form solution of r(n).


Full work available at URL: https://arxiv.org/abs/1406.3092




Recommendations




Cites Work


Cited In (2)





This page was built for publication: A note on the largest number of red nodes in red-black trees

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2397154)