【預告】5/13(一)起,第三階段頁面上方功能列以及下方資訊全面更換新版。 前往查看

中山◆電機◆資料結構題庫

【非選題】
7.[15] Suppose we have 12 integers: 60, 40, 25, 10, 50, 80, 15, 65, 30, 90, 20, 55. Construct a binary search tree by inserting the integers, starting from 60, one after another. Please answer the following questions for the binary search tree:

【題組】7.5 [3] What is the height of the binary tree? Let one-node tree have a depth of 1.