Design Yelp or Nearby Friends

👷‍♂️ In progress: We are writing our own solutions
We find that solutions online don't do justice to real FAANG interviews. So, we're writing our own.
to get these early versions. Unsubscribe anytime.

🙋 Here are some details you should know about this question:

How will you store location data? Will you use latitude-longitude, geohashing, or a spatial index (e.g., R-Tree, QuadTree)?

How do you handle different types of proximity services - static (e.g., restaurants) vs dynamic (e.g., nearby friends or riders)?

What kind of caching would you implement for frequently accessed areas (e.g., popular cities)?

How will you rank and personalize results (e.g., by distance, rating, user preferences)?


← Back to Main Table