We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060318a commit 066ee0fCopy full SHA for 066ee0f
src/main/java/g2601_2700/s2622_cache_with_time_limit/solution.ts
@@ -1,7 +1,7 @@
1
// #Medium #2023_08_31_Time_51_ms_(94.82%)_Space_42.2_MB_(94.26%)
2
3
class TimeLimitedCache {
4
- private keyMap: Map<number, any>
+ private readonly keyMap: Map<number, any>
5
constructor() {
6
this.keyMap = new Map<number, any>()
7
}
0 commit comments