Skip to content

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%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy