in case concurrent distributed writes
MongoDB doesn't support distributed writes. Writes always go to the primary, so there can't be any conflicts, theoretically.
That isn't entirely true however - if you write to the primary just before it goes down, it's possible that the write is in the primary's journal but didn't make it to the secondary and your client code didn't get a response. In that (rare) case, you will have a conflict. MongoDB handles that by putting a bson file in a special folder named rollback when the server comes back up.
Apart from the intricacies of replica sets, operations are always performed in order (where, again for the replica sets, the order is determined by the primary's clock). As JohnnyHK already pointed out, updates can perform selective updates like $inc or $set, or replace the entire document. What makes sense depends on your application. If you perform a lot of $incs, e.g. for a hit counter, the order doesn't matter, but it does, of course, when you perform a replace. In that case, following from the above, the last write wins. In general, I think one should put some though into object ownership, i.e. who is really allowed to replace a document.
If you want to have MVCC-like (multi-version concurrency control) behavior, e.g. allow different users to write to the same (logical) document with change tracking (something like git), you might want to check out MongoMVCC. That is only relevant if you want concurrency at the application level, so your users can deal with different versions/branches directly.