inverting a binary tree is a pretty basic question though, if you understand recursion. i can understand why google would ask simple algo questions
i based my comment on the only thing I could find: https://wwwx.cs.unc.edu/~duozhao/entry/2014/12/binary-tree-u...
this is only slightly harder than the trivial (if u know recursion) "mirroring" a tree problem