hi team,
please help me on below item:
we have 2 arrays with some values
array1 = {11,34,54,67};
array2 = {44,67,11,456};
here need to compare the 2 arrays irrespective of their position... if any value are common then need to throw true/false
please help me
Vishal JoshiPosted Oct 17, 2023, 10:02 AM
Hello Murali,
Please check out the below code to intersect the array and find common. if there are common values it will return true or false.
Thanks
Vishal Joshi
Naimish MakwanaPosted Oct 17, 2023, 11:06 AM
Try below
Thanks
Amit MohantyPosted Oct 17, 2023, 9:33 AM