Pergunta de entrevista da empresa Energy Exemplar

1.how to reverse each word of string without using inbuilt method. 2. find sum of each path in binary tree