摘要:
public class Solution { /** * @param nums: A list of integers * @return: A list of integers includes the index of the first number * and the index of the last number ... 阅读全文
摘要:
1 public class Solution { 2 /** 3 *@param A: A list of integers 4 *@param elem: An integer 5 *@return: The new length after remove 6 */ 7 public static int removeEl... 阅读全文
摘要:
1 public class Solution { 2 /** 3 * @param s A string 4 * @return the length of last word 5 */ 6 public static int lengthOfLastWord(String s) { 7 if (s == null |... 阅读全文
摘要:
1 public class Solution { 2 /** 3 * @param string: An array of Char 4 * @param length: The true length of the string 5 * @return: The true length of new string 6 */ 7 ... 阅读全文