Dynamic Programming In Analysis Of Algorithm In Data