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.
To make myself feel better I'd say, those of us who actually wrote an algorithm are geniuses too, instead of using built-in functions. :P
Because the result SOUTH, NORTH, WEST still has the opposite pole next to each other, i.e SOUTH, NORTH. It is also mentioned in the description towards the end. I hope this helps.
This is exactly how I solved it. I initially used Replace method in place of Append but the later turned out to be more time efficient.