Computer Science, asked by chikki9655, 11 months ago

Given two sorted arrays. There is only 1 difference between the arrays. First array has one element extra added in between. Find the index of the extra element.

Answers

Answered by danielshivasai
0

1) Create two arrays leftMax[] and rightMin[]. 2) Traverse input array from left to right and fill leftMax[] such that leftMax[i] contains maximum element ...

Similar questions