Skip to content

Instantly share code, notes, and snippets.

public class Program
{
static private Queue<long> lifo = new Queue<long>();
static void walk(object[] root)
{
if (root == null) throw new ArgumentNullException(nameof(root));
foreach (var o in root)
{