You are viewing a single comment's thread. Return to all comments →
Swift way:
print(apples.filter{$0 + a >= s && $0 + a <= t}.count) print(oranges.filter{$0 + b >= s && $0 + b <= t}.count)
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 →
Swift way: