This repository contains a list of all the problem solving questions available in LeetCode as of July 2022.
All the information have been collected from the graphql endpoint of LeetCode that LeetCode itself uses to fetch questions on the go.
Motivation to collate this list is to attain consistency in solving LeetCode problems without any hitch and to also be able to track progress in the process.
- View LeetCode questions offline in-browser just like you would in the LeetCode IDE.
- Use your favourite local code-editor to solve problems = Efficiency
- Track the progress of your journey in problem solving. (like solving a problem using multiple approach and analysing complexity)
- The script automatically sets the default code-snippet/template for each available programming language.
There are two different scripts that are provided for two different use cases:
-
Viewing Question - you can view question by simply executing the
question.sh
script.cd /path/to/repo ./question.sh
-
Solving Question - you can write code using the code-template that comes with the question, by executing
code.sh
script.cd /path/to/repo ./code.sh
- This repository does not contain the problem statements for the paid premium questions and hence if you want then you will need to access them through the online IDE only.
- To submit/run your code against the LeetCode testcases, you will need to copy your code into the online IDE nonetheless.