ajnovice / leetcode-screenshotter

screenshots leetcode editorials and problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leetcode Screenshotter

Screenshots of Leetcode Editorials and Premium Problems

Table of Contents

Editorials

Leetcode Editorials are in-depth articles which explain how to approach and solve a problem. About 50% of problems have editorials. They are premium-only.

Open the below links in a new tab with CNTRL + Click or COMMAND + Click

Editorial code is available under the editorial_code folder of the project (credit to @raghavrambo007)

Premium Problems

[back to top]

About 10% of leetcode problem are premium-only.

Open the below links in a new tab with CNTRL + Click or COMMAND + Click.

About

[back to top]

This project uses selenium to programmatically screenshot all editorials and problems.

Please report any Issues, such as

  • Blurry images
  • Improperly cropped images
  • Problems that I skipped over

Potential future improvements for the project include:

  • Screenshot the starting code for premium problems
  • Screenshot the editorials for multiple languages (C++, Java, Python) instead of just the default of C++
  • Make sure that the code in the editorials is fully shown (sometimes it is hidden by scroll)
  • Regular updates to include new problems

I am done working on the project for now, but if this becomes popular and people start using it, I may do more. If you want a feature, open an Issue, and I may do it. Please reach out if you are interested in contributing.

Note:
When creating issues, note that some problems that leetcode says have editorials, actually do not:

About

screenshots leetcode editorials and problems

License:MIT License


Languages

Language:Java 47.2%Language:Python 26.7%Language:C++ 22.3%Language:Swift 2.1%Language:Ruby 0.9%Language:TypeScript 0.8%