Invert Binary Tree
Easy
Binary Trees
Invert a binary tree (swap the left and right child of every node) and print the result in level-order, using null for missing children and omitting trailing nulls.
Constraints
0 <= number of nodes <= 100
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.