Back to course home
0% completed
Vote For New Content
There's a typo in the Python solution here: `previousFrequency = frequency + 1` ...
Rishik Lad
Sep 12, 2022
There's a typo in the Python solution here:
previousFrequency = frequency + 1 when it should be subtracting 1 instead.
0
0
Comments
Comments
R
Rishik Lad3 years ago
Ah nvm, I see we add instead due to having to invert numbers for max heaps in Python