public void C3Q6() { Stack<int> s = new Stack<int>(); s.Push(4); s.Push(2); s.Push(3); s.Push(8); s.Push(5); }
public void C3Q2() { var stack = new Stack(); stack.push(1); stack.push(2); stack.push(3); stack.push(4); var result = stack.min().data; Assert.AreEqual(result, 1); }
public Tower(int i) { disks = new Stack<int>(); Index = i; }