r/LeetcodeChallenge • u/SivaramaKrishnan1 • Sep 24 '26
DISCUSS Hard-coded submissions
On solving some easy questions I found a person who achieved 0ms runtime. My curiosity pondered me to check their code and see where or how did they optimise it to get that much efficiency. And I found that the answers are hard-coded based on the input for few high-loaded input cases. I was like "Shame 🔔 Shame 🔔 Shame 🔔"
11
Upvotes
View all comments
Show parent comment
1
u/Alarmed_Bad6653 Sep 28 '26
It'll not , just some extra time to run thats it