6 kyu

Invert binary tree

280 of 400baracchande

Description:

Invert a binary tree. Example:

From:

     4
   /   \
  2     7
 / \   / \
1   3 6   9

To:

     4
   /   \
  7     2
 / \   / \
9   6 3   1
Trees
Algorithms

Stats:

CreatedAug 19, 2015
PublishedAug 19, 2015
Warriors Trained887
Total Skips30
Total Code Submissions1069
Total Times Completed400
C# Completions280
Java Completions130
Total Stars17
% of votes with a positive feedback rating90% of 81
Total "Very Satisfied" Votes66
Total "Somewhat Satisfied" Votes14
Total "Not Satisfied" Votes1
Total Rank Assessments14
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • baracchande Avatar
  • user5036852 Avatar
  • hobovsky Avatar
  • spenc53 Avatar
Ad