You are viewing a single comment's thread. Return to all comments →
C#
static List<int> compareTriplets(List<int> a, List<int> b) { int al=0; int bob=0; var retList = new List<int>(); for(int i=0;i<a.Count;i++){ if(a[i]>b[i]){ al++; } else if(a[i]<b[i]){ bob++; } } retList.Insert(0,bob); retList.Insert(0,al); return retList; }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 27: Testing
You are viewing a single comment's thread. Return to all comments →
C#