You are viewing a single comment's thread. Return to all comments →
Stack<Integer> st1 = new Stack<>(); Stack<Integer> st2 = new Stack<>(); for(int i=0; i<a.size(); i++){ st1.push(a.get(i)); } for(int i=0; i<b.size(); i++){ st2.push(b.get(i)); }
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Two Stacks
You are viewing a single comment's thread. Return to all comments →