標籤:java leetcode longest palindromic 題目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one
標籤:leetcode java zigzag conversion 題目:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a
標籤:java leetcode pathsum 題目:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the
標籤:Given a binary tree, return the level order traversal of its nodes‘ values. (ie, from left to right, level by level).For example:Given binary tree {3,9,20,#,#,15,7}, 3 / 9 20 / 15 7 return its level order
標籤:1、-D<name>=<value> set a system property 設定系統屬性。java命令引入jar時可以-cp參數,但時-cp不能用萬用字元(多個jar時什麼煩要一個個寫,不能*.jar),面通常的jar都在同一目錄,且多於1個。-Djava.ext.dirs有了這個,就不用一個一個的寫了。如:java -Djava.ext.dirs=lib MainClass 這樣就可以達到簡化設定classpath了