Frage im Vorstellungsgespräch bei MongoDB

Write an algorithm to insert a node into a sorted linked list.