Palo Alto Networks Interview Question

Dynamic programming and array hard questions