Overview Solutions to Coding Challenge - Iterator over a nested data structure Solution assuming payload type is fixed = int See it running on Ideone Solution assuming payload type is generic See it running on Ideone