摘要:
public class Solution { public int myAtoi(String str) { str=str.trim(); int size=str.length(); if(str==null||size==0) return 0; double res=0; b... 阅读全文
摘要:
public class Solution { public String convert(String s, int numRows) { if(s.equals("")) return ""; if(numRows==1) return s; String res=""; ... 阅读全文
摘要:
public class Solution { public int[] twoSum(int[] nums, int target) { int [] res=new int[2]; int size=nums.length; boolean isGot=false; int i=0; int j=0; ... 阅读全文