--- 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