5.http://i.imgur.com/YnBQzb1.jpg
感覺是基本題,不過題目稍微拉長變換一下後又不會解了
8.http://i.imgur.com/l1vLxty.jpg
treap=tree+heap
不過還是不清楚他的操作流程
有在下面這個網站找到解答
希望有好心人士幫忙解說一下XD
http://www.chegg.com/homework-help/treapsif-insert-set-n-items-binary-search-tree-resulting-tre-chapter-13.p-problem-4p-solution-9780070131514-exc
謝謝~