Compare the Triplets

  • + 0 comments

    I had a similar solution! Just to be a little nitpicky you can make the second "if" statement within the for loop as an "else if" so that the condition doesn't get evaluated if the first one is true already.