Print or return nodes between two given levels in a binary tree

mediumLast edited: August 2, 2025