solulubeta
Sign in
DSA Basics / Building up
02.27 · Problem

Subjects Both Friends Are Taking

Medium Hash set intersection Pro

This problem is part of solulu Pro

Two friends compare their elective lists to see which classes they will be sitting in together. Each list can hold a subject more than once because of repeated labs.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 57 of 90 · updated 2026-10-12