![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
彭三年
gogogogogogogo
展开
-
质数 计算 java代码
/** * 素数计算 * @Author sannian * @Date 2022/5/16 15:31 * @Version 1.0 */public class Sushu { public static void main(String[] args) { long l = System.currentTimeMillis(); int bf = eratosthenes(1000000); long l1 = System.cu.原创 2022-05-18 12:00:00 · 144 阅读 · 0 评论 -
反转链表java代码
/** * 反转链表 * @Author sannian * @Date 2022/5/16 13:41 * @Version 1.0 */public class LinkedListReversal { static class ListNode{ int val; ListNode next; public ListNode(int val, ListNode next) { this.val = val.原创 2022-05-17 10:43:53 · 245 阅读 · 0 评论