metadata
license: mit
task_categories:
- question-answering
language:
- en
tags:
- code
pretty_name: leet leet
size_categories:
- 1K<n<10K
LeetCode Scraper Dataset
This dataset contains information scraped from LeetCode. It is designed to assist developers in analyzing LeetCode problems, generating insights, and building tools for competitive programming or educational purposes.
Dataset Contents
The dataset includes the following files:
problem_set.csv
- Contains a list of LeetCode problems with metadata such as difficulty, acceptance rate, tags, and more.
- Columns:
acRate
: Acceptance rate of the problem.difficulty
: Problem difficulty (Easy, Medium, Hard).frontendQuestionId
: Unique problem ID.title
: Problem title.titleSlug
: URL-friendly title for the problem. Construct the link this way: "https://leetcode.com/problems/{titleSlug}/description/"topicTags
: Tags associated with the problem (e.g., Array, Hash Table).hasSolution
: Indicates if the problem has an official solution.hasVideoSolution
: Indicates if the problem has a video solution.
This is a data is part of a wider family of datasets, it includes a dataset with detailed description and other statistics about each problem and another one with 100 solutions sorted by "Most-Voted".
PS. questions are uploaded every week on the platform if you would like me to update the data or need more solutions for each problem, let me know.
Code used for scrapping can be accessed here: "https://github.com/timetooth/leetcode_scraper.git" star the repo if you like it.