Skip to content

Commit 7a591d2

Browse files
refactor 146
1 parent fc0ee4c commit 7a591d2

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-1
lines changed

src/main/java/com/fishercoder/solutions/_146.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class Solution1 {
3737
public class LRUCache {
3838
/**
3939
* The shortest implementation is to use LinkedHashMap:
40-
* specify a size of the linkedHashMap;
40+
* specify a size of the LinkedHashMap;
4141
* override the removeEldestEntry method when its size exceeds max size:
4242
* https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html#removeEldestEntry-java.util.Map.Entry-
4343
* in the constructor, set the last boolean variable to be true: it means the ordering mode,

0 commit comments

Comments
 (0)