We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc0ee4c commit 7a591d2Copy full SHA for 7a591d2
src/main/java/com/fishercoder/solutions/_146.java
@@ -37,7 +37,7 @@ public class Solution1 {
37
public class LRUCache {
38
/**
39
* The shortest implementation is to use LinkedHashMap:
40
- * specify a size of the linkedHashMap;
+ * specify a size of the LinkedHashMap;
41
* override the removeEldestEntry method when its size exceeds max size:
42
* https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html#removeEldestEntry-java.util.Map.Entry-
43
* in the constructor, set the last boolean variable to be true: it means the ordering mode,
0 commit comments