Added problem for DP and binary search