Pergunta de entrevista da empresa Capital One

Given a binary tree, delete all the leaves with a value of 0.