Skip to content

Instantly share code, notes, and snippets.

View pdesai878's full-sized avatar
🎯
Focusing

Parth Desai pdesai878

🎯
Focusing
View GitHub Profile
@pdesai878
pdesai878 / bisect.py
Created March 5, 2022 05:20
Bisection algorithms
"""Bisection algorithms."""
def insort_right(a, x, lo=0, hi=None, *, key=None):
"""Insert item x in list a, and keep it sorted assuming a is sorted.
If x is already in a, insert it to the right of the rightmost x.
Optional args lo (default 0) and hi (default len(a)) bound the
slice of a to be searched.
@pdesai878
pdesai878 / web-scraping-using-requests-beautifulsoup-library-in-python.ipynb
Created July 24, 2021 14:03
Web Scraping using requests, beautifulsoup library in python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.