avatar Bite 123. Find the user with most friends

In this Bite you are presented with a users dict of keys=id's and values=usernames and a friendships list of user ID tuples expressing a friendship between two users.

Loop through friendships and find out which user has the most friends. Return a tuple of friend name and his or her friends. Have fun!

Login and get coding
go back Intermediate level
Bitecoin 3X

148 out of 148 users completed this Bite.
Will you be the 149th person to crack this Bite?
Resolution time: ~50 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 4.67 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help