Try to not mutate the original array, create a new one and return that.
You have to reduce that and only "WEST" should remain.
This comment is hidden because it contains spoiler information about the solution
Print the input to see what happens.
Which language?
Loading collection data...
Try to not mutate the original array, create a new one and return that.
You have to reduce that and only "WEST" should remain.
This comment is hidden because it contains spoiler information about the solution
Print the input to see what happens.
Which language?