Sample output of the problem isn't match with the solution of the problem

Describe your issue

in this problem, sample input is “hello world”, sample output is “HeLlO wOrLd”. Problem asked for an alternating case. But code in the solution returns “HeLlO WoRlD” for the same input. Whether we switch case for space characters or not is ambiguous.

Screenshot

Additional info

Thank you for pointing this out, we have fixed this.