The first one is what I coded, it only handles 1 reciprocal relationship.
The second one was contributed by someone else. It is supposed to work with multiple fields. To be completely honest, I have not tested that one out.
I know that the first one will work with either ACF 4 or 5.