typical Diff problem. all version control system implements Diff Algo. Basic Algo can refer to Myers' paper:
"An O(ND) Difference Algorithm and Its Variations". 
Easy to implement. I've used this algo in my project.

解决方案 »

  1.   

    有点疏忽了,假使这样:
    文字列一:
    The page you are looking for is currently unavailable. 
    The Web site might be experiencing technical difficulties, 
    or you may need to adjust your browser settings.
    文字列二:
    The server might be shut down 、or rebooting. 
    or you may need to adjust your browser settings.
    The page you are looking for is currently unavailable. 
    表示结果:
    The server might be shut down、(新增) or rebooting. (新增)
    or you may need to adjust your browser settings.
    The page you are looking for is currently unavailable. 
    The Web site might be experiencing technical difficulties, (已删除)也就是说是无序的比较。
    An O(ND) Difference Algorithm and Its Variations 正在调查中,谢谢