You are viewing a single comment's thread. Return to all comments →
Here scala code is
pieces.sliding(m).filter(s => s.sum == d).size
Seems like cookies are disabled on this browser, please enable them to open this website
Subarray Division
You are viewing a single comment's thread. Return to all comments →
Here scala code is
pieces.sliding(m).filter(s => s.sum == d).size