The compareTriplets function will compare between array list of a and b. Easch array list has 3 elements.
if a>b then score for a is increased by 1, else if a==b do nothing if a<b then score for b is increased by 1
Here, I want to return an array list of compareTriplets function which will have 2 integer values of a and b. Then use this array list in the main function.
I'm not able to return an ArrayList from the compareTriplets function. can you please give me a hint on that.