For the program https://leetcode.com/problems/top-k-frequent-elements/ it shows the following error even for the default solution provider.