was asked Flip Equivalent Binary Trees https://leetcode.com/problems/flip-equivalent-binary-trees/description/ with one slight modification that the values in the tree nodes don't have to be unique.