Array intersection of two array in hashing hint

array intersection of two array in hashing hint

hello @shrutikatyal
store frequency of all elements of first array in map.
and then iterate second array see whether its frequency in map is greater than 0 or not.
if it is then include that element in ur answer and decrease the frequency by 1.