• + 0 comments

    It's elegant, but wouldn't this solution be slower and less space efficient? Since each call for a.Count() would have to go through the array and you have to store in an array? Where as you can just go through the list with one iteration and then print?