Jupyter notebook with answers to SafeGraph's Technical Product Manager practice problems.
Developed and tested on Macbook Air running MacOS 11.6.
$ brew update
$ brew install pyenv
$ pyenv install 3.9.6
$ pyenv local 3.9.6
$ pip install --user --upgrade pipenv
$ git clone [email protected]:bootstrapt/safegraph-practice-problems.git
$ cd safegraph-practice-problems
$ pipenv install
$ pipenv shell
From project root:
$ pipenv shell
$ jupyter notebook
To publish this notebook, update ./html/index.html
and push to github.
$ sudo chmod +x ./publish_to_github_pages.sh
$ ./publish_to_github_pages.sh
$ jupyter nbconvert SafeGraph\ Interview\ Problem.ipynb --no-input --no-prompt --to=html --output-dir=docs --output=index.html
$ git commit -am "updated ./docs/index.html with latest notebook output"
$ git push