Java Interview with a FAANG Engineer: What Are My Friends Buying
This is a mock Java Interview with a FAANG engineer, where the prospective candidate must tackle a SDE 1 Level Java Question, typical for new grad hires. The question, “What are my friends buying?“, requires candidates to build upon two given APIs to produce a list of purchasable item suggestions, based on what their friends bought. This solution is done using Hash Map and Hash Set to keep track of items you’ve bought vs. what your friends bought, while avoiding duplicates. Keep an eye out for the extension question, which utilizes BFS and queue to include larger social circles (friends of friends) as well as the useful advice the interviewer gives to improve!
👉 Get $100 off your first professional mock interview with this link!:
📖 Check out feedback from the FAANG interviewer and the full transcript on
📘 Or view other python interviews:
❗ Disclaimer: All interviews are shared with explicit permission from the interviewer and the interviewee, and all interviews are anonymous. has the sole right to distribute this content.
TIMESTAMPS
00:00 Start
06:56 Question Starts: What are my friends buying
36:08 Question Extension: Larger Social Circle
41:00 Feedback
53:45 Question Extension 2: Extend to N level friend circles
1 view
660
167
2 months ago 00:07:26 1
Max Consecutive Ones III - Leetcode 1004 - Sliding Window (Python)
2 months ago 03:45:34 1
Информационное насилие и НЕ безопасный интернет / JavaScript - ЗЛО!/ PhD Андрей Столяров
2 months ago 05:27:20 1
70 Leetcode problems in 5+ hours (every data structure) (full tutorial)
3 months ago 00:03:13 1
Nemanja Radulović plays JS Bach: Concerto for Violin and Oboe, BWV 1060: Adagio (Excerpt)
4 months ago 00:11:41 1
Mickey Rourke - Year of the Dragon (1985) Interviews / Scenes / Trailer
4 months ago 00:14:54 3
Mickey Rourke - Compilation - Part One (The Wrestler / Angel Heart / Rumble Fish)
4 months ago 00:42:13 1
Putin’s Bikers: The Night Wolves of Russia | The Ultra-Nationalist Biker Gang Protecting the Kremlin
5 months ago 04:00:56 1
Бэкенд Java, Go, Python, C#, PHP — Задай любой вопрос / Ярмарка менторов