- Published on
- Wed Mar 26, 2014
Elements of Programming Interviews
This is an index to the problems from THE book being solved in haskell (and counting). Some of the trivial ones will only be attempted on demand!
Chapter 5 – Primitive Types ¶
EPI 5.1 - Find the number of bits set in a number (and Parity)
EPI 5.4 - Closest integers with same weight
EPI 5.6 - String to integer conversion functions
EPI 5.7 - Generalized conversion between bases
EPI 5.9 - Elias Encoding and Decoding
EPI 5.5 - Generating power sets
EPI 5.8 - Spreadsheet column encoding
EPI 5.10 - Greatest common divisor
Chapter 6 – Strings and Arrays ¶
EPI 6.5 - Subset summing to 0 mod n
EPI 6.1 - Dutch Flag Partitioning
EPI 6.4 - Generalized Max Difference
EPI 6.19 - Reversing words in a string
EPI 6.6 - Longest contiguous increasing subarray