I read a heap solution at the following link:"[link](https://disqus.com/home/discussion/geeksforgeeks/minimize_cash_flow_among_a_given_set_of_friends_who_have_borrowed_money_from_each_other/") but cannot figure out that solution,can anyone please provide some pseudo-code or some explanation for the solution using heaps.↵
↵
Thank you for your time.
↵
Thank you for your time.