Jim and the Orders

  • + 1 comment

    How does this problem come under "greedy" paradigm?