Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html>
<h"... is not valid JSON
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
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 dataset is part of a broader collection of LeetCode-related datasets. It complements:
- LeetCode Problem Detailed – includes full problem descriptions, difficulty levels, and metadata.
- LeetCode Problem Solutions – contains the top 100 community solutions per problem, sorted by most upvoted.
Note: New questions are added weekly to the platform. If you'd like updated data or more solutions per problem, feel free to reach out!
Scraping code is open-sourced here: timetooth/leetcode_scraper. Give it ⭐ a if you find it helpful!
- Downloads last month
- 59
