• + 0 comments

    its o(n^2), coz in worst case senario, all the choclate blocks would add up to d.