Just 7 Liner solution (Even in Java) | O(n+m)
Took just 3 min\'s to write down the code,\nhas 7 line\'s within java\nO(m + n)\n\nhttps://youtu.be/hVIVXDjXB3g
Took just 3 min\'s to write down the code,\nhas 7 line\'s within java\nO(m + n)\n\nhttps://youtu.be/hVIVXDjXB3g
['Java']