Anonymous interview question

Dp question, solve in 3hrs