You are viewing a single comment's thread. Return to all comments →
My solution in c# :
int appleCounter = apples.Count(apple => (apple + a) >= s && (apple + a) <= t); int orangeCounter = oranges.Count(orange => (orange + b) >= s && (orange + b) <= t); Console.WriteLine(appleCounter); Console.WriteLine(orangeCounter);
Seems like cookies are disabled on this browser, please enable them to open this website
Apple and Orange
You are viewing a single comment's thread. Return to all comments →
My solution in c# :