take only 0.2s to calculate the 5000 list but leetcode says I am over the time limit!!!!!