GE interview question

How does Linked In algo works