i dont it this way as well but cant seem executing...please help
#include <iostream>
#include <cstdlib>
#include <stack>
using namespace std;
int cce(stack<int>& S, stack<int>& T);
Type: Posts; User: donkey
i dont it this way as well but cant seem executing...please help
#include <iostream>
#include <cstdlib>
#include <stack>
using namespace std;
int cce(stack<int>& S, stack<int>& T);
i changed it it to a while loop added the pop but still not working. any more ideas please
Write code that will determine the number of common unique elements in
the two stacks. For example, S has elements (top to bottom): 1, 2, 3, 3, 4, 5,
6; T has elements (top to bottom): 1, 3, 5, 5,...