bubucuo前端算法實(shí)戰(zhàn)課
2022-11-29 13:47 作者:娜娜絡(luò)絡(luò) | 我要投稿
IntStream.rangeClosed(0, elementCount).forEach(i -> linkedList.add(ThreadLocalRandom.current().nextInt(elementCount), 1));
? ?stopWatch.stop();
? ?System.out.println(stopWatch.prettyPrint());}StopWatch '': running time = 44507882 ns---------------------------------------------ns ? ? ? ? % ? ? Task name---------------------------------------------
標(biāo)簽: