Skip to content

Commit e29b134

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] constants / readonly properties
1 parent 57d6109 commit e29b134

File tree

1 file changed

+3
-3
lines changed
  • src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps

1 file changed

+3
-3
lines changed

src/algorithm_exercises_csharp/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/FrequencyQueries.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ private FrequencyQueries()
1313
reset();
1414
}
1515

16-
private static readonly long __INITIAL__ = 1L;
16+
private const long __INITIAL__ = 1L;
1717

1818
private const int __INSERT__ = 1;
1919
private const int __DELETE__ = 2;
2020
private const int __SELECT__ = 3;
2121

22-
private static readonly int __NOT_FOUND__ = 0;
23-
private static readonly int __FOUND__ = 1;
22+
private const int __NOT_FOUND__ = 0;
23+
private const int __FOUND__ = 1;
2424

2525
readonly Dictionary<long, long> valueFreqs = [];
2626
readonly Dictionary<long, List<long>> freqDictionary = [];

0 commit comments

Comments
 (0)