کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
4951307 1441209 2017 14 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A note on the largest number of red nodes in red-black trees
ترجمه فارسی عنوان
توجه داشته باشید که بیشترین تعداد گره های قرمز در درختان قرمز است
کلمات کلیدی
درختان قرمز و سیاه، گره های داخلی قرمز، برنامه نویسی دینامیک، راه حل های صریح،
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
In this paper, we are interested in the number of red nodes in red-black trees. We first present an O(n2log⁡n) 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(log⁡n) time recursive and nonrecursive algorithms. Based on these improved algorithms we finally find a closed-form solution of r(n).
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Discrete Algorithms - Volume 43, March 2017, Pages 81-94
نویسندگان
, , , ,