You are viewing a single comment's thread. Return to all comments →
Yea exactly sorting and done in one more loop. Here's my cpp solution https://www.hackerrank.com/challenges/cut-the-sticks/submissions/code/15104424
Seems like cookies are disabled on this browser, please enable them to open this website
Cut the sticks
You are viewing a single comment's thread. Return to all comments →
Yea exactly sorting and done in one more loop. Here's my cpp solution https://www.hackerrank.com/challenges/cut-the-sticks/submissions/code/15104424