Find the intersection of two sets.
1 2 3, 3 4 5
{3}
Time: 2s · Memory: 256 MB
Use set intersection.
> Run your code to see console output.