HF RL Explorer

Tree Depth and Height Calculator

Tree Depth and Height Calculator: a task in Terminal-Lego-15k (Harbor dataset). In tree data structures, depth and height are fundamental concepts that are often confused. Your task is to implement a program that correctly calculates both the depth and height of nodes in a tree.

Part of PrimeIntellect/Terminal-Lego-15k.