You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Dataset Card for "leetcode_contests"

Dataset Summary

  • The dataset comprises accepted solutions from the Leetcode's contests top 5000 ranked users.

  • The dataset has been meticulously cleaned to ensure consistent formatting, and accuracy of the numerical values included.

  • Each submission is guaranteed to be valid.

  • In total, there are 2406 unique problems and 4,785,476 submissions across 19 different programming languages.

  • All contests up to weekly contest 444 (April 06, 2025).

    (This dataset is not accessible to the public, please do not contact me regarding its access.)

Languages

The problem descriptions are in English.
Here is a summary of the languages used for the submissions:

Programming Language Total
C++ 2303127
Java 1056808
Python 3 1036285
Python 2 154050
Javascript 72510
Go 64016
C# 36468
Kotlin 12786
Rust 9412
Ruby 3503
Scala 2250
C 17669
Typescript 6285
Swift 7214
PHP 2563
Dart 301
Racket 182
Erlang 28
Elixir 19

Source Data

The source of the dataset is Leetcode's contests

Annotations

The dataset includes the following columns: id, title, contest, statement, code, lang, and credit.

  • The id column indicates the ID of the submission within this dataset.
  • The title column contains the name of the problem.
  • The contest column contains the contest in which the problem appeared.
  • The statement column contains the markdown explanation for the problem.
  • The code column contains the code that solves the question.
  • The lang column indicates the language in which the solution is written.
  • The credit column indicates the number of points given to the problem.

If you you have any suggestion, comment or proposal, please contact me here

Downloads last month
54