|
Download README.md from Hahho2/leetcode-problem-set: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/datasets/Hahho2/leetcode-problem-set/resolve/main/README.md
- Command line
-
hf download hf://datasets/Hahho2/leetcode-problem-set/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Hahho2/leetcode-problem-set/resolve/main/README.md
2.03 kB
| 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 dataset is part of a broader collection of LeetCode-related datasets. It complements: | |
| > | |
| > - **[LeetCode Problem Detailed](https://huggingface.co/datasets/kaysss/leetcode-problem-detailed)** – includes full problem descriptions, difficulty levels, and metadata. | |
| > - **[LeetCode Problem Solutions](https://huggingface.co/datasets/kaysss/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](https://github.com/timetooth/leetcode_scraper.git). Give it ⭐ a if you find it helpful! | |
|  |