Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Using API calls to get all leetcode questions and store its like/dislike counts to get the top like/dislike ratio questions

Notifications You must be signed in to change notification settings

LeetCode-LintCode-Solutions/leetcode_MostLikedQuests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

leetcode_MostLikedQuests

Using API calls to get all leetcode questions and store its like/dislike counts to get the top like/dislike ratio questions

requirements

  1. python 3
  2. python module sqlalchemy
  3. sqlite3

steps

before query on the database, you can either

  • execute the main.py to create and load the database, or
  • download the leetcode.db, or
  • download the questions.csv

check the data

highest like/dislike ratio questions without premium limitation

SELECT questionFrontendId, title, isPaidOnly, difficulty, (likes / dislikes) as likeDislike_ratio, likes, dislikes
FROM questions WHERE isPaidOnly = 0 order by likeDislike_ratio DESC LIMIT 200;

LikeDislieRatio.png

About

Using API calls to get all leetcode questions and store its like/dislike counts to get the top like/dislike ratio questions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /