You are viewing a single comment's thread. Return to all comments →
static List<int> compareTriplets(List<int> a, List<int> b) { var a_point = a.Count(x => x > b[a.IndexOf(x)]); var b_point = b.Count(x => x > a[b.IndexOf(x)]); return new List<int> {a_point, b_point}; }
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →