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 e227130 commit 42613d5Copy full SHA for 42613d5
src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/sherlock_and_anagrams.py
@@ -4,6 +4,10 @@
4
from typing import Dict, List
5
import math
6
7
+import logging
8
+
9
+LOGGER = logging.getLogger(__name__)
10
11
12
def sherlock_and_anagrams(s_word: str) -> int:
13
@@ -40,6 +44,6 @@ def sherlock_and_anagrams(s_word: str) -> int:
40
44
math.factorial(k) * math.factorial(quantity_of_anagrams - k)
41
45
)
42
46
43
- print(f'filtered candidates: {count}')
47
+ LOGGER.debug('Sherlock_and_anagrams() Filtered candidates %i', count)
48
49
return count
0 commit comments