Datasets:
File size: 658 Bytes
79e5554 43134c9 79e5554 43134c9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ---
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 slug
- `solution_id`: unique id, problem + approach index + language
- `primary_algorithm`: normalized algorithm/technique label
- `verified`: true/false for Python (execution-checked), null for other languages
- `messages`: chat-format (system/user/assistant), ready for SFT
|