Skip to content

Add the missing solution videos to leetcode_solutions.json #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zubyj opened this issue Jun 10, 2023 · 1 comment
Closed

Add the missing solution videos to leetcode_solutions.json #28

zubyj opened this issue Jun 10, 2023 · 1 comment

Comments

@zubyj
Copy link
Owner

zubyj commented Jun 10, 2023

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
Copy link
Owner Author

zubyj commented Jun 11, 2023

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

@zubyj zubyj closed this as completed Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant