摘要:
1.1、题目1 剑指 Offer 14- II. 剪绳子 II 1.2、解法 刚刚好结束了,这个专题,国庆休息,后面再改 1.3、代码 class Solution { public int cuttingRope(int n) { if(n <= 3) return n - 1; int b = 阅读全文
摘要:
1.1、题目1 剑指 Offer 37. 序列化二叉树 1.2、解法 这题给我笑死了,我看到题解有个解法,我愿称之为神。 public class Codec { private TreeNode root; // Encodes a tree to a single string. public 阅读全文