Sollicitatievraag bij Microsoft

A dynamic programming question was asked