Why shouldn't it? Test cases have changed. Longer test data with duplicates added.
Posts made by trgao10
RE: Why this program will lead to time limited exceeded about question 3sum
RE: Time Limit Exceeded
Because this is way too slow.... it seems that this strategy used to work before on LeetCode, but no longer so since new test cases have been added.
Try divide and conquer -- picking the smallest value at a time requires scanning through the k lists every time, but most of these scanning operations are useless. It will be much better if you sub-divided these k lists recursively since every operation there contributes to building up the final list.