Where can I find the diff algorithm?
Where can I find an explanation and implementation of the diff algorithm? First of all I have to recognize that I'm not sure if this is the correct name of the algorithm. For example, how does Stack Overflow mark the differences between two edits of the same question? PS: I know the C and PHP programming languages. There is really no such thing as "the diff algorithm". There are many different diff algorithms, and in fact the particular diff algorithms used are in some cases considered a business advantage of the particular diff tool. In general, many diff algorithms are based on the Longest