Skip to content

sjs7007/all_leetcode_questions

Repository files navigation

All Leetcode questions in a single file

I wanted to practice Leetcode questions with pen and paper on my Kindle. So, I wrote a script which copies all Leetcode algothmic questions and formats it in a single file (txt, pdf, mobi) .

Usage

You can download '.txt', '.pdf' or '.mobi' file from this repo and view it however you want.

Updating questions

Add the new question link in the file question_links.txt and run export_all_questions.py python script.

To get all questions link list, visit this URL 'https://leetcode.com/problemset/algorithms/', open up the dev console and run following code:

var links = document.getElementsByTagName('a');
var all_links =  Array.prototype.slice.call( all_links);
all_links.forEach(function(val){
    console.log(val.href);
});

About

All Leetcode questions in a single file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages