Datasets:
Upload README.md with huggingface_hub
Browse files12345678910111213141516171819202122232425262728234567891011121314151617181920212223242526---dataset_info: features: - name: slug dtype: string - name: solution_id dtype: string - name: primary_algorithm dtype: string - name: verified dtype: bool - name: messages list: - name: role dtype: string - name: content dtype: string splits: - name: train num_bytes: 3489205 num_examples: 2517 download_size: 3360677 dataset_size: 3489205configs:- config_name: default data_files: - split: train path: data/train-*license: mittask_categories:- text-generationlanguage:- entags:- 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 SFTREADME.md+24-27