You are given a 2D integer array descriptions where descriptions[i] = [parent, child, isLeft] means parent is the parent of child in a binary tree of unique values. If isLeft == 1, child is the left child of parent; if isLeft == 0, it is the right child. Construct the binary tree described by descriptions and return its root. The test cases guarantee the descriptions form a valid binary tree.
You are given a 2D integer array descriptions where descriptions[i] = [parent, child, isLeft] means parent is the parent of child in a binary tree of unique values. If isLeft == 1, child is the left child of parent; if isLeft == 0, it is the right child. Construct the binary tree described by descriptions and return its root. The test cases guarantee the descriptions form a valid binary tree.