Generation of Binary Trees in B-Order From (0-1) Sequences

Authors

  • Hayadeh Ahrabian Faculty of Science, University of Tehran
  • Abbas Nowzari-Dalini Faculty of Science, University of Tehran

Keywords:

Binary trees, B-order, 0-1 Sequences, Recursion

Abstract

An efficient recursive algorithm has been developed to generate binary trees in B-order from 0-1 sequences. The generation algorithm produces each tree in constant average time O(1). The ranking and unranking algorithms with O(n) time complexity are also presented.

Downloads

Download data is not yet available.

Downloads

Published

2004-06-01

How to Cite

Ahrabian, H., & Nowzari-Dalini, A. (2004). Generation of Binary Trees in B-Order From (0-1) Sequences. Malaysian Journal of Computer Science, 17(1), 24–31. Retrieved from https://jml.um.edu.my/index.php/MJCS/article/view/6183