leetcode_contests / README.md
Nan-Do's picture
Update README.md
6628473 verified
---
language:
- en
tags:
- code
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 **675 contests**, **2694 unique problems** and **5,795,065 submissions** across **19 different programming languages**.
- **All contests** up to weekly contest 492 (March 08, 2026).
(**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++ | 2893293
Python 3 | 1241807
Java | 1230813
Python 2 | 166838
Javascript | 78258
Go | 70650
C# | 39738
C | 22114
Kotlin | 14326
Rust | 12075
Typescript | 7802
Swift | 7615
Ruby | 3812
PHP | 2804
Scala | 2394
Dart | 450
Racket | 193
Erlang | 47
Elixir | 36
### Source Data
The source of the dataset is [Leetcode's contests](https://leetcode.com/contest/)
### Annotations
The dataset includes the following columns: **contest, title, time, statement, code, lang, and credit**.
- The **contest** column contains the contest in which the problem appeared.
- The **title** column contains the name of the problem.
- The **time** contains the epoch of the contest.
- The **credit** column indicates the number of points given to the problem.
- 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.
If you you have any suggestion, comment or proposal, please contact me [here](mailto:tarin.f@gmail.com)