#include <bits/stdc++.h> using namespace std; class MyStack { private: queue<int> que1; queue<int> que2; public: MyStack() { } void Push(int x) { que1 Read More
#include <bits/stdc++.h> using namespace std; typedef struct node { int value; node *next; }linklist; linklist* ReverseList(linklist *head){ linklist Read More