Grokking Data Structures & Algorithms for Coding Interviews
Vote

0% completed

​

Minimum Cost to Connect Sticks(medium)

.....

.....

.....

Like the course? Get enrolled and start learning!
A

Anonymous

· 3 years ago

In order to solve this, I had to realize that this is under 'heap' set of problems.

A

Anonymous

· 3 years ago

The expected output for example #2 should be 27 since there's a cost of 27 involved.

Reading Progress

0%


Vote for new content