Rosetta Problems

Delete Leaves With a Given Value

https://leetcode.com/problems/delete-leaves-with-a-given-value