← All problemsSign in

Social Network

Michael is planning to create a Social network similar to Facebook. In his network there are two ways in which user can make friends: 1. Users can visit their friend's profile and visit their friend list and send friend request to anyone in the list. 2. Users can use search option and find random user and send them a request.But they won't use this method if the user can befriend another user by

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start