Minimum Flips in Binary Tree to Get Result