Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnion Operation with Hashing #1720
Comments
|
Please assign me this issue. |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up|
Please assign me this issue. |
Suppose we are given two arrays and we have find heir mathematical union operation .This can be done easily with the use of HashMap/Hashing in Java.
Eg
arr1=[2,3,4,5,6,8,9 ]
arr2=[1,3,5,10]
Union will be [1,2,3,4,5,6,8,9,10]