These are my current solutions to Elements of Programming Interviews, written in Python. A disjoint set of problems done in Typescript/Javascript can be found here: EPI-js
After cloning the directory, prepare it with:
pipenv shell
pipenv install
To run the included unit tests:
ptw
Problem | Test |
---|---|
Compute XY | tests |
Problem | Test |
---|---|
Compute the Next Permutation | tests |
Find a Random Subset | tests |
Problem | Test |
---|---|
Base Conversion | tests |
Problem | Test |
---|---|
Reverse a List | tests |
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Problem | Test |
---|
Type | Test |
---|