Kingdom of Saudi Arabia اﻟﻤﻤﻠﻜﺔ اﻟﻌـﺮﺑﯿﺔ اﻟﺴﻌﻮدﯾﺔ
Ministry of Higher Education وزارة اﻟﺘﻌﻠﯿﻢ اﻟﻌﺎﻟﻲ
Prince Sattam bin Abdulaziz University ﺟﺎﻣﻌﺔ اﻷﻣﯿﺮ ﺳﻄﺎم ﺑﻦ ﻋﺒﺪاﻟﻌﺰﯾﺰ
College of Computer Engineering and Sciences ﻛﻠﯿﺔ ھﻨﺪﺳﺔ وﻋﻠﻮم اﻟﺤﺎﺳﺐ
Computer Science Department ﻗﺴﻢ ﻋﻠﻮم اﻟﺤﺎﺳﺐ
Course Title: Data Structures and Algorithms (CS2321) / 1438-1439 (1)
Homework 5 (Solutions)
(1)
(2) The result of three deleteMins, starting with both of the heaps in Exercise 6.2, is as follows:
CS2321 – Homework 5 (solutions) Page 1/3
, CS2321 – Homework 5 (solutions) Page 2/3
Ministry of Higher Education وزارة اﻟﺘﻌﻠﯿﻢ اﻟﻌﺎﻟﻲ
Prince Sattam bin Abdulaziz University ﺟﺎﻣﻌﺔ اﻷﻣﯿﺮ ﺳﻄﺎم ﺑﻦ ﻋﺒﺪاﻟﻌﺰﯾﺰ
College of Computer Engineering and Sciences ﻛﻠﯿﺔ ھﻨﺪﺳﺔ وﻋﻠﻮم اﻟﺤﺎﺳﺐ
Computer Science Department ﻗﺴﻢ ﻋﻠﻮم اﻟﺤﺎﺳﺐ
Course Title: Data Structures and Algorithms (CS2321) / 1438-1439 (1)
Homework 5 (Solutions)
(1)
(2) The result of three deleteMins, starting with both of the heaps in Exercise 6.2, is as follows:
CS2321 – Homework 5 (solutions) Page 1/3
, CS2321 – Homework 5 (solutions) Page 2/3