Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
what is the significance of (if symbols.key(c) && symbols.key(c) != stack.pop) compared to (if symbols.key(c) != stack.pop)?
This code does not seem adaptable to any array with any hash. When you use "names = names.map { |name| name[:name] }" you are using the key ':name' based on the test cases. So this solution only works based on the test cases.