Skip to content

Commit 6357a8f

Browse files
author
Gonzalo Diaz
committed
[Hacker Rank] Interview Preparation Kit: Dictionaries and Hashmaps: Frequency Queries. New test cases added ('Sample Test Case 3').
1 parent 51a4bc2 commit 6357a8f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/frequency_queries_test.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,32 @@
3333
],
3434
'expected': [0, 1, 1]
3535
},
36+
{
37+
'title': 'Sample Test Case 3',
38+
'input': [
39+
[1, 3],
40+
[1, 38],
41+
[2, 1],
42+
[1, 16],
43+
[2, 1],
44+
[2, 2],
45+
[1, 64],
46+
[1, 84],
47+
[3, 1],
48+
[1, 100],
49+
[1, 10],
50+
[2, 2],
51+
[2, 1],
52+
[1, 67],
53+
[2, 2],
54+
[3, 1],
55+
[1, 99],
56+
[1, 32],
57+
[1, 58],
58+
[3, 2]
59+
],
60+
'expected': [1, 1, 0]
61+
},
3662
{
3763
'title': 'Sample Test Case 3',
3864
'input': [

0 commit comments

Comments
 (0)