摘要:
class Solution { public String replaceSpaces(String S, int length) { StringBuilder sb = new StringBuilder(); for (int i=0; i<length; i++){ // 以真实长度为界 阅读全文
摘要:
class Solution { public boolean CheckPermutation(String s1, String s2) { if(s1.length()!=s2.length()){ return false; } int[] array = new int[128]; # 存 阅读全文
摘要:
class Solution { public boolean isUnique(String astr) { boolean flag = true; int count = astr.length(); if (count != 0 || count != 1){ for (int i = 0; 阅读全文