Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
In c++ instead of map we can use just simple vector and it will boost up our runtime

lejafilip

Dec 21, 2024

auto freqMod = std::vector<int>(k, 0); // something like that, because reminder would never be higher than k

0

0

Comments
Comments