結果 : algorithm used in top tree data structure