using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World " + Math.Ceiling(d));
LinkedList<TreeNode> stack = new LinkedList<TreeNode>();
LinkedList<int> depths = new LinkedList<int>();
List<int> list = new List<int>();
int capacity = list.Capacity;
Console.WriteLine("Capacity: " + capacity);
Stack<int> stack1 = new Stack<int>();
for (int i = 0; i < 10; i++)
if (stack1.Count > capacity)
capacity = stack1.ToString().Length ;
Console.WriteLine("Capacity: " + stack1.Pop());
Console.WriteLine("Capacity: " + stack1.Pop());
public TreeNode(int val=0, TreeNode left=null, TreeNode right=null) {