Created
August 17, 2018 14:57
-
-
Save yohey03518/647b30088fb21e263197812ad06dffe5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestMethod] | |
public void OneNode_Return1() | |
{ | |
No104_MaximumDepthofBinaryTree.TreeNode root = new No104_MaximumDepthofBinaryTree.TreeNode(1); | |
int depth = solution.MaxDepth(root); | |
Assert.AreEqual(1, depth); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment