This repository is meant to keep me on track for practicing leetcode questions and was an interesting scripting project for autogeneration
Note to reader/repo stalker I am not writing the most clean/legible code since this either comes from coding competitions or just for my own practice. Also note that my solutions that I come up with could not be the most efficient
I started getting interested in becoming a competitive programmer during the spring semester when COVID hit. The main problem was that I was significantly behind other programmers in terms of knowledge of problems and solving techniques. Additionally, school and other extra curriculars made it harder to put time into this project. BUT NO LONGER
I wrote a script that automatically generates a new folder and some resources that will be helpful for remembering problems
I used a virtual environment since it is the easiest thing to use for your own machine, but feel free to use whatever makes sense for you. Here is an article that could be useful in getting started with virtual environments
- Run
pip install -r requirements.txt
to download all of the packages necessary - Run
./gen_lc_folder.py
to run the generation framework- If this doesn't work and gives you a permission error, run
chmod 700 gen_lc_folder.py
to allow the file to be executable by you
- If this doesn't work and gives you a permission error, run
- Enter the name of the question you are looking at to have its information pulled
- Bishalsarang GitHub Repo - Helped with inspiration for the scrapper that I wrote
- Selenium Documentation
- Web Scraping Tutorial - To remember how to use bs4