随笔分类 -  水题

个人觉得蛮水的题目
摘要:题目描述:请实现一个二叉树,判断一颗二叉树是否是对称的。注意,一颗二叉树和它的镜像完全相同,则称为对称二叉树。 /* struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; TreeNode(int x) : 阅读全文
posted @ 2020-02-16 23:02 Xzavieru 阅读(337) 评论(0) 推荐(0)
摘要:B. Han Solo and Lazer Gun time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Han Solo and 阅读全文
posted @ 2018-08-10 00:21 Xzavieru 阅读(328) 评论(0) 推荐(0)
摘要:B. Run For Your Prize time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Run For Your Pri 阅读全文
posted @ 2018-08-05 23:00 Xzavieru 阅读(166) 评论(0) 推荐(0)
摘要:B. Color the Fence time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Color the Fence ti 阅读全文
posted @ 2018-07-29 23:12 Xzavieru 阅读(177) 评论(0) 推荐(0)