From 4e0a6c0ca9715ad4485b2f4f6cace48ba6191683 Mon Sep 17 00:00:00 2001 From: Valentyn Kolesnikov Date: Tue, 22 Oct 2024 01:30:31 +0300 Subject: [PATCH] Improved task 2622 --- .../kotlin/g2601_2700/s2622_cache_with_time_limit/solution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/g2601_2700/s2622_cache_with_time_limit/solution.ts b/src/main/kotlin/g2601_2700/s2622_cache_with_time_limit/solution.ts index cbe76b904..f23053e51 100644 --- a/src/main/kotlin/g2601_2700/s2622_cache_with_time_limit/solution.ts +++ b/src/main/kotlin/g2601_2700/s2622_cache_with_time_limit/solution.ts @@ -1,7 +1,7 @@ // #Medium #2023_08_31_Time_51_ms_(94.82%)_Space_42.2_MB_(94.26%) class TimeLimitedCache { - private keyMap: Map + private readonly keyMap: Map constructor() { this.keyMap = new Map() }