Java Solution with Full explained start with basic case to general case


  • 1
    L

    This is a basic case:

    0_1472764441476_1.pic.jpg

    More general when fast one traveled more than one cycle before meet:

    0_1472764524550_2.pic.jpg

    Code :

    0_1472764556219_Screen Shot 2016-09-01 at 2.15.38 PM.png


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.