Implement a MyQueue class which implements a queue using two stacks.

 

Example:


MyQueue queue = new MyQueue();



queue.push(1);

queue.push(2);

queue.peek();  // return 1

queue.pop();   // return 1

queue.empty(); // return false

 

Notes: