SPOJ EXPEDI — Expedition SOLUTION

Правка en1, от sinhadiptiprakash, 2021-04-06 07:46:10

Hey, I just found a problem on spoj EXPEDI — Expedition https://www.spoj.com/problems/EXPEDI/ which is a greedy problem and I came to know that the problem can be solved by using heap(max) data structure. But I was unable to figure out how this problem can be solved using heap. I am new to programming so, please help me with some explanation how to approach this problem with heap. I am eager to learn. Thanks a lot in advance.

Теги #heap, #greedy, #spoj, solution spoj, #help me

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sinhadiptiprakash 2021-04-06 07:46:10 474 Initial revision (published)