1666: Change the Root of a Binary Tree

Problem Statement