Ad
  • Custom User Avatar

    Hey man! Thanks for your observation. You're right, the reference actually employs a greedy approach. I tried a bunch of cases and it always seemed to be giving the optimal solution, so I thank you for disproving that. The final example you give is particularly odd; I'll have to look into that. I'll unpublish the kata for now, since this is a relatively large problem and I can't fix it right now.

  • Custom User Avatar