摘要:
原题链接在这里:https://leetcode.com/problems/binary-tree-paths/ 题目: Given a binary tree, return all root-to-leaf paths. For example, given the following bina 阅读全文
摘要:
To convert a int to string:int num = 123;String str = String.valueOf(num);To convert a string to int:String str = "123";int num = Integer.valueOf(str)... 阅读全文
摘要:
Java 的 annotation 以@开头 比如@Override. 不改变complied program的action annotation不完全是comments 能够改变一段代码compile的方式 下面这段代码因为base class里没有display(int x), 所以是用@Ove 阅读全文