Karat logoKarat
CodingMembers

Restaurant Recommendation From Mutual Friends' Likes

Members only

A coding problem about helping two friends choose a restaurant using what their shared friends have liked. It combines friendship data with per-person likes and asks for a pick that is new to both of them and popular among mutual friends. The challenge is organizing the data so the work stays proportional to the input.

SWE
medium
hashmap
graph
set
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...