In the Brute force solution on line 29 should the statement be median = array2[j]; instead of median = array1[j];?
Thank you so much for pointing out a typo mistake and it has been updated, please keep letting us know about any further typo mistakes if you find any.
Thanks.
1 Like