摘要:class LRUCahce { private Node head; private Node tail; private Map<String, Node> hashMap; private int capacity; public LRUCahce(int capacity) { this.c
阅读全文
|
随笔分类 - 常用算法
摘要:class LRUCahce { private Node head; private Node tail; private Map<String, Node> hashMap; private int capacity; public LRUCahce(int capacity) { this.c
阅读全文
摘要:class BitMap { private byte[] words;//用一个字节数组来存储 private int capacity;//位图的长度 public BitMap(int capacity) { this.capacity = capacity; words = new byte
阅读全文
摘要:/** * */ package cn.com.wwh; /** * @Description:TODO * @author:wwh * @time:2021-1-18 19:24:47 */ public class SingleLinkedList <T>{ Node list;//头结点 in
阅读全文
|