摘要: /* function TreeNode(x) { this.val = x; this.left = null; this.right = null; } */ function IsBalanced_Solution(pRoot) { // write code here function ge 阅读全文
posted @ 2022-03-27 22:06 方头小小狮 阅读(25) 评论(0) 推荐(0)
摘要: /* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pR 阅读全文
posted @ 2022-03-27 22:05 方头小小狮 阅读(48) 评论(0) 推荐(0)
摘要: /* function TreeNode(x) { this.val = x; this.left = null; this.right = null; } */ function isSymmetrical(pRoot) { // write code here function compareN 阅读全文
posted @ 2022-03-27 22:04 方头小小狮 阅读(17) 评论(0) 推荐(0)
摘要: /* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * * @param root TreeNode类 * @return int整型 */ function 阅读全文
posted @ 2022-03-27 22:03 方头小小狮 阅读(33) 评论(0) 推荐(0)
摘要: /* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param ro 阅读全文
posted @ 2022-03-27 22:02 方头小小狮 阅读(14) 评论(0) 推荐(0)
摘要: /* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * * @param root TreeNode类 * @return int整型二维数组 */ funct 阅读全文
posted @ 2022-03-27 22:02 方头小小狮 阅读(22) 评论(0) 推荐(0)
摘要: /* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param ro 阅读全文
posted @ 2022-03-27 22:01 方头小小狮 阅读(19) 评论(0) 推荐(0)
摘要: /* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param ro 阅读全文
posted @ 2022-03-27 22:00 方头小小狮 阅读(28) 评论(0) 推荐(0)
摘要: /* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param head ListNode类 * @return ListNode类 */ function deleteDuplicates( 阅读全文
posted @ 2022-03-27 21:58 方头小小狮 阅读(34) 评论(0) 推荐(0)
摘要: /* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param head ListNode类 the head * @return bool布尔型 */ function isPail( hea 阅读全文
posted @ 2022-03-27 21:57 方头小小狮 阅读(40) 评论(0) 推荐(0)