TRUE LOVE
CodeChefOpen on judge ↗
"Gravitation is not responsible for people falling in love." — Albert Einstein It's valentine week and you are given the critical task of identifying the true love. You will be given two arrays a and b, For first array ith girl loves ai boy and similarly for second array ith boy loves bi girl.Given that the true love is where the girl loves a boy and in return the boy also loves the same girl you
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start