JP morgan phone interviews


Dice game: you can roll a 6-side dice up to 3 times. After the first or the second roll, if you get a number x, you can either get dollors or to choose to continue rolling. what is the game worth.Answer: use DP.
algrithm question: how to find median in a stream of data.

support vector machine, C++ STL.