Validating Binary Tree

Was browsing through Medium coding problems of Leetcode( Oh yeah. I think Im at this level ) when I stumble upon this one — validating binary tree. Pfft. You dummy, NO WAY this is medium. Turns out it is harder than I thought ^^, not because it is  hard but because of my stupid mistakes….

http://i.imgur.com/jn7drKc.gifv

Continue reading “Validating Binary Tree”

Advertisements