Ad
  • Custom User Avatar
  • Custom User Avatar

    Amazing Kata)

  • Custom User Avatar

    Please explain me why prescriprion below shoud return 1? We have 1 cream in prescription but we don't have any cream available. This mean than we cannot make any cakes, isn't it?

    Wrong result for recipe {'cream': 1, 'flour': 3, 'sugar': 1, 'milk': 1, 'oil': 1, 'eggs': 1} and available ingredients {'sugar': 1, 'eggs': 1, 'flour': 3, 'cream': 0, 'oil': 1, 'milk': 1}: 0 should equal 1