Know your algorithms cold!
Haskell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
src
test
.gitignore
LICENSE
README.md
Setup.hs
inter.cabal
stack.yaml

README.md

logo

Know your algorithms cold! Love 'm or hate 'm, algorithmic questions reign supreme at tech interviews so take the opportunity to practice them while sharpening your Haskell skills.

This project contains tests and solutions for the most commonly asked questions from major tech companies -- all in Haskell. You can challenge yourself to rewrite (and improve!) the solutions while keeping the tests passing.

Each answer contains notes about clarifying questions to ask the interviewer, a strategic breakdown and runtime complexity analysis.

Two-Level Approach

There are two types of questions. One is to implement data structures and simple operations from scratch and the other to apply and combine known techniques to solve higher level problems. For the latter we use the containers, unordered-containers, vector, matrix, KMP and fgl packages as our arsenal to demolish problems.

The Questions