Datasets:
metadata
license: mit
task_categories:
- text-generation
language:
- en
tags:
- code
- python
- leetcode
- algorithms
LeetCode Code-Gen Dataset — Python
Problem statement + examples + required algorithm/technique -> Python solution. 2517 rows. Sourced from doocs/leetcode.
Every row execution-verified against the problem's own examples.
Fields
slug: LeetCode problem slugsolution_id: unique id, problem + approach index + languageprimary_algorithm: normalized algorithm/technique labelverified: true/false for Python (execution-checked), null for other languagesmessages: chat-format (system/user/assistant), ready for SFT