Files
Leetcode/226. Invert Binary Tree/TreeNode.cs
2022-10-18 00:45:31 +03:00

17 lines
349 B
C#

namespace _226._Invert_Binary_Tree;
//Definition for a binary tree node.
public class TreeNode
{
public int val;
public TreeNode? left;
public TreeNode? right;
public TreeNode(int val = 0, TreeNode? left = null, TreeNode? right = null)
{
this.val = val;
this.left = left;
this.right = right;
}
}