The Cost Of A Tree Hackerrank Mathworks