数据集:
mhhmm/leetcode-solutions-python
许可:
lgpl所有的学分归于 https://www.kaggle.com/datasets/erichartford/leetcode-solutions
我只收集了 Python 解决方案:
id: <number> code_with_data: < # Slug # Title # Difficulty # Content Code Answer in Python # Explanation > code_only: < Code Answer in Python > code_with_problem: < # Content Code > explanation_only: < Explanation >
我正在使用它进行代码生成和代码摘要,所以数据的格式将如上所示。