DEV Community

Cover image for Explaining LinkedIn profile, "1st," "2nd," and "3rd" values.
Richard Shaju
Richard Shaju

Posted on

Explaining LinkedIn profile, "1st," "2nd," and "3rd" values.

In the context of a LinkedIn profile, "1st," "2nd," and "3rd" typically refer to the degrees of connections between you and other LinkedIn users:

1st-degree connections: These are people you're directly connected with on LinkedIn because you've accepted their invitation to connect, or they've accepted yours. You can see each other's full profiles, message each other directly, and engage more closely on the platform.

2nd-degree connections: These are people who are connected to your 1st-degree connections but are not directly connected to you. In other words, they're one degree away from you. You can see their profiles and request to connect with them if you wish.

3rd-degree connections: These are people who are connected to your 2nd-degree connections but are two degrees away from you. You can also see their profiles, but you might have a more limited ability to connect with them directly, depending on their privacy settings.

LinkedIn's exact algorithm for determining degrees of connection is proprietary and not publicly disclosed. However, it likely involves graph theory and network analysis techniques. Here's a general overview of how such an algorithm might work:

Graph Representation: LinkedIn's database of users and their connections can be represented as a graph, where users are nodes, and connections between them are edges.

Traversal Algorithms: LinkedIn's algorithm likely employs traversal algorithms to explore this graph efficiently. Depth-first search (DFS) or breadth-first search (BFS) are common choices for this purpose.

Degree Calculation: Once the graph traversal is complete, the algorithm can determine the degrees of separation between users. For example, if you're trying to determine your 2nd-degree connections, the algorithm might identify all the nodes that are exactly two edges away from you in the graph.

Optimization and Performance: LinkedIn's algorithm would need to be optimized for performance, as the platform likely deals with a massive amount of data and connections. Techniques such as caching, parallel processing, and distributed computing may be used to ensure efficient computation.

Hope this article is helpful to you ❤️

Top comments (4)

Collapse
 
michaeltharrington profile image
Michael Tharrington

Nice, I really appreciate you explaining this!

And now that I know, it reminds me of the game 6 Degrees of Kevin Bacon. 😆

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Damnit, I was going to post an image of a LinkedIn profile of Mr. Bacon with "6th" next to the name!

Collapse
 
michaeltharrington profile image
Michael Tharrington

Lol! Love that. 😆

Collapse
 
richardshaju profile image
Richard Shaju

Nice, I really appreciate you explaining this!

It's my pleasure 😊