Nagarro interview question

2dsa questions related to array