標籤:leetcode java sort colors 題目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white
標籤:leetcode java minimum window subst 題目:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For
標籤:leetcode java subsets 題目:Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not contain
標籤:字串 數組 java 面試 演算法 【006-ZigZag Conversion(Z字型轉換)】【LeetCode-面試演算法經典-Java實現】【所有題目目錄索引】原題 The string “PAYPALISHIRING” is written in a zigzag pattern on a given
標籤:字串 integer java 演算法 面試 【008-String to Integer (atoi) (字串轉成整數)】【LeetCode-面試演算法經典-Java實現】【所有題目目錄索引】原題 Implement atoi to convert a string to an integer. Hint:
標籤: 1.下載JDK目前最新的JDK版本是: Java SE Development Kit 8u51:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html2.解壓安裝我們把JDK安裝到這個路徑:/usr/lib/jvm,並且修改名字方便管理sudo mkdir /usr/lib/jvmsudo tar vxf