Shopee interview question

Invert a binary tree recursively