cd ../blog
#leetcode #dsa #contests

The Four-Minute Contest

AJ
Aaquib Javed Khan
Sr. Software Engineer @ Microsoft
November 5, 2026 · 13 min read ·
updated: November 6, 2026
The Four-Minute Contest

On 24 October 2026, ten people solved all four problems of a LeetCode contest in under six minutes. None of the 30 pre-ChatGPT contests we sampled came close. Here is what five years of leaderboards show about AI, why people cheat at practice, and where coding contests go next.

Data pulled 2 Nov 2026 from LeetCode's public ranking data. Finish times are official, penalties included.

Biweekly 75 was the fastest pre-ChatGPT contest in our sample and about as hard as Biweekly 194: roughly 5% solved all four in each. Weekly 305 was the easiest. By 10th place, Biweekly 194 was two minutes ahead of both.

What the clock says

A LeetCode contest has four problems and 90 minutes. Rank is by score, then by finish time: your last accepted submission, plus five minutes for each wrong one. We pulled finish times from LeetCode's own ranking data for 92 contests from January 2021 to October 2026, about one in five held in that period.

Before ChatGPT launched on 30 November 2022, the median top-10 average across 30 contests was 18:12, and the median winner finished in 12:52. The best humans were already fast: Weekly 315 in October 2022 was won in 4:40. A sub-five-minute win, on its own, proves nothing.

  • 18:12: median top-10 average, 30 contests before ChatGPT

  • 15:16: ChatGPT and GPT-4 era, Dec 2022 to Sep 2024 (27 contests)

  • 23:45: reasoning-model era, Sep 2024 to mid-Nov 2025 (19 harder contests)

  • 9:19: since mid-November 2025 (16 contests)

92 contests. The dashed line marks 6:45, the fastest pre-ChatGPT top-10 average (Biweekly 75). Weekly 475 (November 2025, 65 minutes) is off the top of the scale.

For two years after ChatGPT, little changed at the top. The GPT-4 era's median was 15:16. In the reasoning-model era that began with OpenAI's o1 in September 2024, the top ten got slower, at 23:45, because the problems got harder: the median share solving all four fell from 3.7% to 1.1%.

Then the floor dropped. Since mid-November 2025, the median top-10 average is 9:19, half the pre-ChatGPT figure, and no contest was slower than 13:35. In five of those 16 contests, tenth place finished inside ten minutes. In the three years before, none of 46 contests did.

Like for like

Harder contests take longer, so we grouped contests by the share of entrants who solved all four. At every difficulty level the recent contests are faster, and on the hardest sets the top ten now take less than half the time.

n is the number of contests in each group. AI users also raise the solved-all-four share, so recent contests may be harder than this score suggests, which would widen the gap.

The change is at the very top

If AI help were spread evenly, the whole leaderboard would shift. It hasn't. From 2022 to 2026 the median winner went from 9:49 to 7:05, and the top-10 average from 13:04 to 8:46. But the 100th person to solve everything took 29:23 then and 28:56 now. The field did grow, from about 11,400 entrants a contest in 2021 to 38,700 in 2026, but a bigger field should speed up 100th place as well. What fits is a small group of very fast accounts on top of an otherwise human field.

100th place counts only contests where the 100th person solved all four problems (87 of 92). 2026 runs to the end of October.

The machines got there first

AI labs test their models on past Codeforces contests and report a rating. GPT-4 rated 392 in March 2023, below the 5th percentile. OpenAI's o3 was announced in December 2024 at 2727, past Grandmaster. In February 2026, Google reported 3455 for Gemini 3 Deep Think, a rating only a handful of humans hold.

Ratings come from each lab's offline tests on past contests, usually with more compute per problem than a live entrant has.

  • Feb 2022: DeepMind's AlphaCode places around the median Codeforces competitor.

  • Mar 2023: GPT-4 rates 392. In OpenAI's own test it solves 3 of 45 LeetCode Hards.

  • Sep 2024: OpenAI o1 rates 1673, the 89th percentile.

  • Jul 2025: AtCoder World Tour Finals, Heuristic: the human Psyho beats OpenAI's entry over 10 hours.

  • Aug 2025: IOI 2025: OpenAI's system scores at gold level, sixth against 330 human contestants, in an online track.

  • Sep 2025: ICPC World Finals: OpenAI's system solves 12 of 12 problems. The best human team solved 11.

  • Nov 2025: Google releases Gemini 3 Pro on 18 November. LeetCode's top-10 times drop the same month.

  • Jul 2026: AtCoder World Tour Finals: OpenAI's system finishes ahead of every human finalist, as reported by several outlets.

Ratings passed Grandmaster about eleven months before LeetCode's top ten sped up. Several things fit that lag: lab ratings come from offline runs with heavy compute, o3 wasn't public until April 2025, and contests got harder over the same window. The drop lines up with the November 2025 models, but timing alone doesn't prove cause.

Why cheat at practice?

A weekly contest is practice with a clock, and it offers little beyond a rating. People still break the rules for it, and research on dishonesty explains much of why. We left out studies by Dan Ariely and Francesca Gino that were retracted or failed to replicate.

Three conditions

In the 1950s the criminologist Donald Cressey interviewed convicted embezzlers and found three things in nearly every case: a problem they felt unable to share, a chance to fix it in secret, and a story that made it acceptable. Fraud investigators later named this the fraud triangle. Each corner fits an online contest.

  • Pressure: the rating is public, and it gets used. Knight and Guardian badges go on résumés. A 2022 Blind thread describes ratings being used to shortlist candidates in India.

  • Opportunity: unproctored, and AI answers in seconds. LeetCode's checks compare code across users. A model writes fresh code for each one, which leaves little to match.

  • Rationalisation: everyone at the top does it. It's only practice. I'd have solved it anyway, just slower. Each line turns a rule break into a reasonable choice.

Cheat a little, stay a good person

Most people lie a little, not a lot. A 2019 meta-study by Johannes Abeler, Daniele Nosenzo and Collin Raymond pooled 90 experiments with more than 44,000 people. Participants gave up about three-quarters of what lying could have earned them, even when stakes rose 500-fold, and what reduced lying was making the truth observable. People want the gain, but they also want to keep seeing themselves as honest. In a contest that looks like using AI only for the last problem, or only for a hint. The rule itself is understood: in a 2026 survey of 207 competitive programmers by Pan and colleagues, 89% said AI use during a contest is essentially cheating.

The leaderboard sets the norm

In a decade of research on academic cheating reviewed by Donald McCabe, Linda Treviño and Kenneth Butterfield, what students believed their peers did was the strongest influence on whether they cheated. A study of 12 million Steam gamers found cheating clustered in friendship networks. Most of this evidence comes from surveys and network data, so treat peer effects as likely rather than proven. Still, a leaderboard broadcasts a norm every week. When the first page shows ten finishes under six minutes, an honest entrant draws the obvious conclusion. Some stop entering. Others decide the rating means nothing, and with it their reason to stay honest.

When a measure becomes a target

The anthropologist Marilyn Strathern gave Goodhart's law its best-known wording: "When a measure becomes a target, it ceases to be a good measure." A contest rating was built to show improvement. Once it went onto résumés and into hiring filters, it became a target. A 2021 meta-analysis of 79 studies by Magdalena Krou, Carlton Fong and Megan Hoff found less dishonesty among people with mastery goals and more among those with external goals. The person entering to get better and the person entering for the badge sit in the same contest.

AI changed the method more than the motive

When ChatGPT arrived, many schools expected a wave of cheating. Researchers at Stanford had found that 60–70% of high-school students admitted some cheating before it launched, and the share stayed in that range afterwards. AI made cheating cheaper and harder to spot more than it created new cheaters. Before AI, cheating in a live round usually meant copying a leaked solution, and copied code can be matched across accounts. AI code is new every time.

Online chess has lived with this for years. Chess.com closes more than 100,000 accounts a month for fair-play violations, and it can catch engine use statistically because the engine's best move is known. A coding problem has thousands of correct programs, so timing is the better clue. Pan and colleagues found anomalies on Codeforces, such as solve times as regular as a clock, rising while sanction rates stayed flat.

The pressure reaches hiring too. In a 2024 interviewing.io experiment, candidates secretly using ChatGPT passed 73% of interviews built on verbatim LeetCode problems, and no interviewer noticed. In 2025 Cluely, a startup openly marketed as help to cheat on everything, raised $20.3 million after its founder was suspended from Columbia over an interview-cheating tool.

What happens next

Every major platform now bans AI help in rated contests. They differ in how far they go, and a few are building separate arenas.

  • Codeforces (partial ban, Sep 2024): AI may write boilerplate, but not the algorithm or the key idea.

  • AtCoder (ban plus AI-proof problems, Jun 2024, tightened Oct 2025): generative AI is banned except for translating statements. Its hardest contest uses only problems AI can't solve.

  • LeetCode (ban, Sep 2024): code-generation tools are banned. As reported, a first offence zeroes the score and brings a one-month ban.

  • CodeChef (ban): permanent ban after being caught in three contests.

  • USACO (ban plus proctoring, 2025–26): generative AI is banned, and a proctored US Open was added.

  • Meta Hacker Cup (separate AI track, 2024): an AI track runs alongside the human contest.

  • IOI (on-site only, 2025): recommends accepting AI results officially only when the AI competes on site.

  • Advent of Code (leaderboard removed, 2025): the global leaderboard was dropped, citing stress, load and attacks rather than AI.

Where it goes from here

These are our projections from the data and the rules above.

Online ratings stop measuring the top. With models reported above almost every human, no rule can make the first page of an unproctored contest mean what it meant in 2022. Expect more percentile-style scoring and more review after the contest ends.

Contests that matter move on site. IOI's recommendation, AtCoder's on-site World Tour Finals and USACO's proctored Open point the same way: if a result matters, check the person in the room.

Separate arenas. Expect human-only and AI-allowed divisions side by side, like Hacker Cup's AI track. An AI-allowed division still tests something real: specifying a problem precisely and checking output under time pressure.

AI-proof problems buy time, not safety. Reported ratings went from 392 to 3455 in under three years, so the pool of problems AI can't solve shrinks every year.

Detection moves to behaviour. A similarity check can't catch fresh AI code, but timing can: two hard problems accepted 20 seconds apart, or solves spaced like clockwork. These signals produce false positives, so they suit a review queue better than automatic bans.

Hiring stops trusting the rating, which may fix the problem. Google said in 2025 it would bring back at least one in-person interview round. Amazon has told candidates they can be disqualified for unapproved AI use, and Meta is piloting interviews where AI is allowed. Once a rating stops getting people shortlisted, the pressure corner of the triangle weakens.

For the rest of us

  • Read the leaderboard from rank 100 down. That part of the table took about as long in 2026 as in 2022, so it's still a fair human benchmark.

  • Race your past self. Run virtual contests on older sets and compare with your own history, not with the first page.

  • Practise what in-person rounds test. Solve without autocomplete, explain your reasoning aloud and debug by reading.

  • Use AI after the contest. Upsolve with it and ask why your solution failed. That's where it helps you learn.


How we measured

Method. We read LeetCode's public contest data on 2 November 2026: start times, ranks 1–25 and the page holding rank 100, for every fifth weekly contest from Weekly 225 to Weekly 525, every fifth biweekly from Biweekly 45 to Biweekly 190, and Biweekly 194. A finish time is the last accepted submission minus the contest start, including 5-minute penalties, as the leaderboard shows. Era boundaries are public release dates (ChatGPT 30 November 2022, OpenAI o1 12 September 2024, Gemini 3 Pro 18 November 2025) and make no claim about cause.

Limits. Leaderboards are shown as they stand today, after LeetCode's removals. The share who solved all four is a rough difficulty score. Single winning times are noisy (Weekly 340 still shows a 2:00 winner), so this piece leans on the top-10 average. Finish times can't show which accounts used AI. This article names no users, and none of it is evidence against any individual.

Sources

  1. LeetCode contest info and ranking data (leetcode.com/contest/api), read 2 Nov 2026.

  2. DeepMind, AlphaCode (2022): deepmind.google.

  3. OpenAI, GPT-4 Technical Report (2023): arXiv:2303.08774.

  4. OpenAI, Competitive Programming with Large Reasoning Models (2025), source of the o1 and o3 figures: arXiv:2502.06807. o3 announcement coverage: InfoQ.

  5. IOI 2025 committee minutes: ioinformatics.org. Coverage: The Decoder.

  6. ICPC World Finals 2025: Google DeepMind; The Decoder.

  7. AtCoder World Tour Finals 2025 Heuristic: atcoder.jp; Tom's Hardware.

  8. Gemini 3 Pro: Google DeepMind. Gemini 3 Deep Think: Google.

  9. AtCoder World Tour Finals 2026: atcoder.jp; The Decoder; OfficeChai.

  10. Codeforces AI rule (Sep 2024): codeforces.com.

  11. AtCoder AI rules: Nov 2024, Oct 2025, current rules.

  12. LeetCode contest rules and cheating policy, LeetCode Discuss posts 951105 and 5232896, read through search excerpts.

  13. CodeChef code of conduct: codechef.com. USACO instructions: usaco.org. Meta Hacker Cup AI track: PyTorch. Advent of Code FAQ: adventofcode.com.

  14. Sundar Pichai on Lex Fridman Podcast #471 (2025): transcript. Amazon: ITPro. Meta: 404 Media.

  15. Cluely funding: TechCrunch, Apr 2025; TechCrunch, Jun 2025.

  16. interviewing.io, How hard is it to cheat with ChatGPT in technical interviews? (2024): interviewing.io.

  17. Tickner & Button (2021) on the origins of Cressey's fraud triangle: University of Portsmouth.

  18. Abeler, Nosenzo & Raymond, Preferences for Truth-Telling (2019): Econometrica.

  19. McCabe, Treviño & Butterfield (2001): Penn State. Blackburn et al. (2012): PDF.

  20. Goodhart's law and Strathern's wording: Wikipedia.

  21. Krou, Fong & Hoff (2021): Educational Psychology Review.

  22. Stanford, What do AI chatbots really mean for students and cheating? (2023): Stanford GSE.

  23. Pan et al., AI use in competitive programming (CHI 2026): arXiv:2509.15867.

  24. Chess.com fair play, accounts closed (2025): chess.com.

  25. Blind thread on contest cheating and hiring (2022): teamblind.com.

// shareXLinkedIn
AJ
Aaquib Javed Khan
Senior Software Engineer (L64) @ Microsoft · Hyderabad

Building distributed backend systems at scale. Writing about Java, Kotlin, system design, and life as an engineer at Microsoft.

// 0 comments

Sign in to leave a comment

loading comments...