error
Median of 2 sorted arrays
I have copied the code to cb ide and provided the link above
i have seen that code but that i cannot submit on leetcode so share that code that u r submitting over leetcode
it should be like->
check now, i have added comment for the changes
The link u provided is not opening please send it again…
this code is not workin for all test cases
it is giving runtime error for even size of temp vector
1 2
3 4
it is working.
in line no 13 use else in place of if (see my shared code)
1 Like