using System.Collections.Generic; class Solution { Stack<int> stack1 = new Stack<int>(); Stack<int> stack2 = new Stack<int>(); public void push(int node) { if (stack1.Count == 0 && stack2.Count == 0) { stack1.Push(node); } else if (stack1.Count != 0 && stack2.Count == 0) { st...