Oracle Interview Question

2d array and dp related questions