Solution to Dwarfs-Rafting by codility

19 Nov


Question Name: Dwarfs-Rafting or DwarfsRafting

Need some simple mathematical knowledge. The code is unnecessarily long. A 2-d array is better to write much shorter code. However, I keep the long version for better readability.

Leave a Reply

Your email address will not be published. Required fields are marked *