Minimum cost to cut a board into squares

1 min read

https://www.geeksforgeeks.org/minimum-cost-cut-board-squares/

Find the minimum and maximum amount to buy all N candies
Check if it is possible to survive on island