Basic Dynamic Programming Problems Geeksforgeeks Python Interview