Group Group Group Group Group Group Group Group Group

Challenge 1 Stack Challenges

I understand how to reverse a stack, but I’m trying to use the function that we created inside the example helper function to reverse the stack that I created inside the closure, but I keep getting the error “Cannot convert value of type ‘Stack’ to expected argument type ‘[_]’”. Not sure how to go about fixing this

@mcneils Thanks very much for your question!

Could you please show the code you’re working with? It should help to answer your question.