Terrible experience.
My interviewer was about 5 minutes late (she did stay on the call to make up for it).
Gave me the following question:
Question 1: Implement a simple HashMap/Dict (note: there are different ways to implement hashmap, you can choose any) and implement the GET function which is expected to return a List for a given userID.
// Then write a function called getFoF (get friends of friends from a given user) to find all candidates the given user can add as friends.
// * You may want to define a data structure to return candidate id & mutual friend count (for example a and e have 2 mutual friends) which information would be used in 2nd question.
// For example

// getFoF(a) --> [(e,2), (c, 1)]
// getFoF(d) --> [(b,2), (f, 1)]
This was NOT on the facebook/meta list of leetcode questions which I had GRINDED for weeks. I did implement a solution of n^2 time complexity, then tried to make it better. But overall I am not hopeful for the outcome. She then said 'Well, it's pretty straight forward, actually' when I expressed my confusion.
I cannot believe this was the question given for a rotational engineer at meta, specifically for those without a CS background. I am really dissappointed.


