C3 AI interview question

1. Maximum Sub-Array 2. Num Island with Matrix 3. Fruits into Basket