Ad
  • Default User Avatar

    Thanks for pointing that out. Just made a fork that fulfils the test case. Imagine the next progression is condensing it down to something similar to yours. Kudos on the solution by the way. Concise and readable, even to someone new to Golang.

  • Default User Avatar

    Thank you for teaching me that you can range through a string. I should have assumed this was possible, but didn't think to try it, or look it up.