Ad
  • Custom User Avatar

    Given that the oxford comma is debated, I'd prefer if both versions were accepted. Although, my preference doesn't matter in this case and I did complete the task as asked. Thanks.

  • Default User Avatar

    There have been many debates about the use of the oxford comma, but as far as "correctness" goes, they're both gramatically correct. However, the problem speficies that you return the answer without the oxford comma, so if you include it, your function is wrong.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This problem was fun for me. I always enjoy using arrays.