Code Monkey home page Code Monkey logo

leetcode-best-answers's Introduction

leetcode-best-answers

A pdf document with three top voted answers in the discussion forum for each problem on leetcode.com.

App

Yes... There is an app for this ... Leetcoder.

How it was made

Nothing fancy here... Basically:

  • get discussion url for each question based on its url pattern
  • crawl (python, lxml) top three voted answers for each question given a discussion url
  • write answers for each question into mongodb
  • style and display the answers locally via node.js/express.js
  • generate pdf with wkhtmltopdf

Note there are answers for locked questions in this pdf. The reason is that while the problem is locked, the dicussion for the problem isn't.

Note

All answers in the document are attributed to their authors. If you see your answers in there and would rather your answer not be included, send me a note at [email protected].

Me

Feedback

Just open an issue.

leetcode-best-answers's People

Contributors

gnijuohz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.