URL for my soution is https://oj.leetcode.com/submissions/detail/16496273/. On submitting solution I am getting TLE at leetcode. But on running locally I found out that time taken for same input set is just 35ms . Can someone please help me out.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.