Developer Pro
Log In
Community
Classroom
Calendar
Members
Leaderboards
About
Log In
7
Mioara Cenusa
Feb '24 •
Help
intersection of 2 arrays
has anyone done this algo from
Explore - LeetCode ?
I don't quite understand the requirement. If I return duplicates is wrong , if I return single instance of the intersection elements, is wrong. I don't get it.
first image I return [2,2]
second image I return just [2]
Like
3
4 comments
7
intersection of 2 arrays
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
47
Members
1
Online
1
Admin
START FREE TRIAL
Leaderboard (30-day)
1
Joshua Tillman
+48
2
Adelin Rosca
+44
3
Selina Lavery
+39
4
Prudhvi Raj Maddukuri
+39
5
Martynas Astravas
+27
See all leaderboards
Powered by