We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I also independently came up with the dual Dictionary hashmap approach and am timeout failing on cases 9 - 11.
I even added optimizations such as pre-allocating dictionary size to maximum potential sizes, and automatically rejecting out of bounds frequency checks.
Frequency Queries
You are viewing a single comment's thread. Return to all comments →
I also independently came up with the dual Dictionary hashmap approach and am timeout failing on cases 9 - 11.
I even added optimizations such as pre-allocating dictionary size to maximum potential sizes, and automatically rejecting out of bounds frequency checks.