You are viewing a single comment's thread. Return to all comments →
Great solution, one comment though. peek is not required. pop does return the element sum1-=s1.pop();
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
Great solution, one comment though. peek is not required. pop does return the element sum1-=s1.pop();