DEV Community

Ananya Pillai
Ananya Pillai

Posted on

Start with me...

Today I solved Leetcode's Problem Of The Day, and to be honest I didn't solved it on my own. Read the question, understood it but couldn't think of any specific solution. But the solution previous day, it was solved using post order traversal. So it did cross my mind.
The question is "Distribute Coins in Binary Tree". I saw a similar solution using post order traversal in solutions, wrote the same code and submitted it. Understood the code using CHATGPT.

Top comments (0)