Leetcode题目解析(191016)
Leetcode 572:另一个树的子树 题目描述 给定两个非空二叉树 s 和 t,检验 s 中是否包含和 t […]
[leetcode]题目解析(191015)
Leetcode 621:任务调度器 题目描述 给定一个用字符数组表示的 CPU 需要执行的任务列表。其中包含 […]
[leetcode]题目解析(191014)
Leetcode 647:回文子串 题目描述 给定一个字符串,你的任务是计算这个字符串中有多少个回文子串。具有 […]
[leetcode]题目解析(190702)
leetcode9: Palindrome(回文数) 题目描述 判断一个整数是否是回文数。 题目解析 我们通过 […]
Leetcode 14:最长公共前缀
题目描述 编写一个函数来查找字符串数组中的最长公共前缀。如果不存在公共前缀,返回空字符串 “ […]
[leetcode]题目解析(190612)
Surrounded Regions 题目描述 Given a 2D board containingR […]
[leetcode]题目解析(190610)
Edit distance(dynamic programing) 题目描述 Given two words […]