Ad
  • Custom User Avatar

    Been a very long time since I touched this, but it's string comparison to see if one string can be transformed into a second string only by adding, removing or swapping a single character.

    With that said, we were apparently code golfing and optimizing performance just for fun, you should absolutely not take this code as a good example of well-written Ruby.

  • Custom User Avatar

    What is the actual purpose of "One Away"?.

    To compare a pair of ranges, strings or arrays?.

    Would appreciate some comments.

    Many regards,

    A very green Ruby rookie... :)

  • Custom User Avatar

    Thank you for the heads-up!!...NOW I know what they are asking!"

  • Custom User Avatar

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