Jan-19-2018, 07:38 PM
(Jan-19-2018, 04:44 PM)j.crater Wrote: No problem, we are glad to help! =)Yeah, I will do this!
Beside posting when you hit an obstacle, feel free to also post in Completed Scripts/Snippets subforum, if you would like to share your working code and get some feedback for improvement ;)
(Jan-19-2018, 05:23 PM)Larz60+ Wrote:Thank you! This is accurateQuote:Given two arrays of size N1 and N2 respectively, the task is to calculate the product of max element of first array and min element of second array.>>> A = [1, 50, 2, 7, 3, 8]
>>> B = [1, 50, 2, 7, 3, 8, 75, 77, 0]
>>> max(A) * min(B)
0
>>>