[理工] [資結]-Link list和Heap的問題

看板Grad-ProbAsk作者 (卡瓦寧)時間15年前 (2010/07/17 22:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Q1:What are the minimum and maximum numbers of elements in a heap of hight h? Q2:Assume we have two linked lists with first node pointed by head1 and head2 respectively. What would happen if we applied head1=head2 to these two lists? Q3:Write a pseudo code that traverses a linked list and delete all nodes whose keys are negative. 有請各為資料結構高手解答 感激不盡: ) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.71.211.97
文章代碼(AID): #1CGRXayv (Grad-ProbAsk)
文章代碼(AID): #1CGRXayv (Grad-ProbAsk)