zubyj / leetcode-explained

Browser extension that adds video solutions, company tags, and GPT code analysis into Leetcode problems
https://leetcodeapp.com
MIT License
83 stars 13 forks source link

Add the missing solution videos to leetcode_solutions.json #28

Closed zubyj closed 1 year ago

zubyj commented 1 year ago

Theres 2600 Leetcode problems. The first 700 have been added along with every problem that Neetcode did.

Add the other 1900 solutions.

To do this,

  1. Write a python script to read the JSON
  2. Use the Youtube Data API to search for the problem name. (append "Leetcode" in the search query for better results)
  3. Get the top 5 results and store them in the problem's videos array.
zubyj commented 1 year ago

Many of the problems dont have youtube solutions. Only do the popular missing ones