Frage im Vorstellungsgespräch bei The Commons XR

They asked me to write code to invert a binary tree