JavaScript, Graph Theory, Startup.
User 1 is a total distance of 3 away from Listing B on our graph. Let’s visualize. User 1 : Req (1) → Listing A ← Req (1) : User 2 : Req (1) → Listing B The distance (3) is calculated as the total length of edges between the two nodes (request + request + request). What we’re going to want to do to