Skip to content

Please don't actually use this in your coding interviews. Read Skiena's "The Algorithm Design Manual" or something instead!

License

Notifications You must be signed in to change notification settings

rayfdj/coding-interview-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Interview (TOY) Assistant

NOTE: please don't actually use this in your coding interviews. IMO the best way to prepare for a coding interview is still the old way, i.e.: really understand your data structures and algorithms, as well as the programming language and tech stack of your choice (or those required by your potential employer, of course).

This is a super simple app that allows you to ask questions about a coding interview question verbally, and have ChatGPT send you back the answer. As usual, with LangChain, the core of the app is just a few lines of Python code. I spent the vast majority of the time fighting with the HTML/CSS/JS. (Of course they were ChatGPT-generated, but I had to tinker with them a bit more to make them look a bit more decent.)

Pre-requisites

OpenAI API Key

You need to have an OpenAI API key. You can get one here.

Set it as an environment variable called OPENAI_API_KEY.

Python & Dependencies

I'm using Python 3.9.

pyenv and the pyenv-virtualenv plugin are highly recommended to keep your Python versions and environments cleanly separated.

Once you have them installed and have the virtual environment activated, then install the dependencies:

pip install -r requirements.txt

About

Please don't actually use this in your coding interviews. Read Skiena's "The Algorithm Design Manual" or something instead!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published