Evergy interview question

invert binary tree in cpp