Tired of adding LeetCode problems one by one to your custom list?
This lightweight script lets you bulk-add hundreds of problems using LeetCode’s internal GraphQL API.
✅ Works with your existing LeetCode list (e.g. https://leetcode.com/problem-list/<your_id>/)
✅ Supports both problem slugs and question IDs
✅ 100% client-side — just paste it in your browser console or run with Python
- Open your LeetCode list page (must be logged in)
- Open DevTools → Console
- Paste the script
- Add your problem slugs or IDs → done!