You are viewing a single comment's thread. Return to all comments →
it's actually similar as mine, but from different direction. you solution didn't need to handle the case arr[i] % r != 0, which I fell in for a while.
Seems like cookies are disabled on this browser, please enable them to open this website
Count Triplets
You are viewing a single comment's thread. Return to all comments →
it's actually similar as mine, but from different direction. you solution didn't need to handle the case arr[i] % r != 0, which I fell in for a while.