leetcode_contests / README.md
Nan-Do's picture
Updated the languages names
654796a verified
---
task_categories:
- text-generation
- text2text-generation
language:
- en
tags:
- code
- leetcode
- contests
- competitive_programming
pretty_name: Leetcode Contests
size_categories:
- 1M<n<10M
---
# Dataset Card for "leetcode_contests"
## Dataset Description
- **Homepage:** None
- **Repository:** https://huggingface.co/datasets/Nan-Do/leetcode_contests
- **Paper:** None
- **Leaderboard:** None
- **Point of Contact:** [@Nan-Do](https://github.com/Nan-Do)
### 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](https://leetcode.com/contest/)
### 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](mailto:[email protected])