SSD (共 5个提问)

java随机产生字符串

/** * 产生随机字符串 * */ private static Random randGen = null; private static char[] numbersAndLetters ...
tomivy 5年前       0      5K    

给定一字符数组,求数组中字符组成的所有排列

public static void main(String[] args) { char[] origin = { 'a', 'b', 'c', 'd', 'e', 'f' }; int le...
灬猜想灬 5年前       0      11K    

老问题,给定字符串按字节长度截取子串

public class CutString { public static void main(String[] args) throws Throwable { //begin 起始字节位置...
灬猜想灬 5年前       0      2K    

字符串单个字符出现次数最多算法

public class CountStringMaxSign { public String getMaxCountSign(String str){ if(str==null || str....
wf1006 5年前       0      12K    

算出字符串中出现次数最多的字符,写的比较烂 ╮(╯_╰)╭

package cn.cxy.test; import java.util.HashMap; import java.util.Map; public class CountChar { sta...
灬猜想灬 5年前       0      5K