Ad
  • Custom User Avatar

    Love the thought, but I respectfully disagree. Just because you aren't learning how to run a loop in this solution doesn't mean you aren't learning. Learning a) how to use regex and b) how to be efficient and clean in your code IS learning. And I would think it's more valuable than learning a method for this specific instance that takes up way more space. But I understand your point. Key takeaway here is that everyone is using this platform to learn something different. For instance, loops are easy for me, but regex has always been confusing. This solution offered me the chance to use regex, and I felt very accomplished in doing so. Anyway, best of luck with your learning!

  • Custom User Avatar

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