摘要:
class Solution { public String replaceSpaces(String S, int length) { StringBuilder sb = new StringBuilder(); for (int i=0; i<length; i++){ // 以真实长度为界 阅读全文
posted @ 2020-08-25 20:07
Neil_J
阅读(81)
评论(0)
推荐(0)
摘要:
class Solution { public boolean CheckPermutation(String s1, String s2) { if(s1.length()!=s2.length()){ return false; } int[] array = new int[128]; # 存 阅读全文
posted @ 2020-08-25 10:59
Neil_J
阅读(120)
评论(0)
推荐(0)
摘要:
class Solution { public boolean isUnique(String astr) { boolean flag = true; int count = astr.length(); if (count != 0 || count != 1){ for (int i = 0; 阅读全文
posted @ 2020-08-25 08:55
Neil_J
阅读(112)
评论(0)
推荐(0)

浙公网安备 33010602011771号