PayPal interview question

dynamic programming with graphs