Write a program to get the common minimum number between two arrays
Assume that the array contains values between 1 to 100
It returns 101, when there is no common number
Input(First Array, Second Array) |
Output |
{2, 14, 6, 82, 22}, {3, 16, 12, 14, 48, 96} |
14 |
{45, 35, 67, 12, 2}, {100, 76, 23, 67} |
67 |
{183, 164, 105, 125}, {185, 4, 125} |
101 |
{5, 10, 25, 50, 100}, {20, 30, 40, 60, 70, 90} |
101 |