Skip to content

Mo-Shakib/Leetcode-python-package

Repository files navigation

LeetCode Problem Info

Get information of LeetCode problems

Instructions

  1. Install:
pip install Leetcode-problem-info
  1. import
from LeetCode_problem_info import problem_info

initialize drive object to get problem data

drive = problem_info.Get_Info()

Get problem title using problem id

drive.problem_title(id)
Get problem details by entering problem id
drive.problem_details(id)

Output: ['Two Sum', '45.20%', 'Easy']

Get problem url by entering problem id

drive.problem_url(id)

About

LeetCode problem data python package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages