Speridian Technologies interview question

Dynamic programming in C