Skip to content

Instantly share code, notes, and snippets.

@yuangaonyc
yuangaonyc / heapify.php
Created August 13, 2023 19:23
PHP Heapify
// implement python heapify
@yuangaonyc
yuangaonyc / php_sorted_list.php
Last active August 28, 2023 19:15
PHP Sorted List
// implement python sorted list
// https://leetcode.com/contest/weekly-contest-358/problems/minimum-absolute-difference-between-elements-with-constraint/
// https://stackoverflow.com/questions/490650/keeping-an-array-sorted-in-php/490688#comment104626868_490688
// https://www.youtube.com/watch?v=xV92hYM6iCU
@yuangaonyc
yuangaonyc / cargurus_scraper.py
Last active September 7, 2024 01:58
cargurus.com scraper
#########################################################
################# Enter Values Here #####################
#########################################################
zipcode = 13775
pages = 100
data_name = "new3"
#########################################################