- Tags: algorithm
Create a function that receives a string and represents the name of a Smoothie, plus additionals or decrements for that smootie like so: Classic,+chocolate,-strawberry
and returns and array of strings with the ingredients of a given smoothie
{
"Classic": ["strawberry", "banana", "pineapple", "mango", "peach", "honey", "ice", "yogurt"],
"Forest Berry": ["strawberry", "raspberry", "blueberry", "honey", "ice", "yogurt"],