I need to synchronize two large sets of strings in Java, one of the on the client and the other on the server. Most probably the client is missing a couple of entries which it should receive from the server. I don't want to transfer all members, I want to minimize the communication and the computation on the server (the client may work harder).
Any idea besides divide-and-conquer?
I'm not asking about the communication technology or alike, I'm only interested in a good algorithm. I think something like what version control does would be optimal, but I'm afraid I can't do it this way.