Compare the Triplets

Problem Name:
Compare the Triplets
Site:HackerRank
Links:
Tags:
Problem setters: