--- license: mit task_categories: - text-generation language: - en tags: - code - java - leetcode - algorithms --- # LeetCode Code-Gen Dataset — Java Problem statement + examples + required algorithm/technique -> Java solution. 4068 rows. Sourced from doocs/leetcode. **Not execution-verified** — no compiler/runtime harness exists yet for this language. Extracted directly from doocs/leetcode community solutions; treat correctness as likely, not guaranteed. ## 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