Skip to content

quijoo/quijoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Hi, I'm _quijoo

Game Dev Beginner, A Students of CQU

edisonlee55's github stats

A gift for you...

struct ListNode *getIntersectionNode(struct ListNode *headA, struct ListNode *headB) {
    if (headA == NULL || headB == NULL) {
        return NULL;
    }
    struct ListNode *pA = headA, *pB = headB;
    while (pA != pB) {
        pA = pA == NULL ? headB : pA->next;
        pB = pB == NULL ? headA : pB->next;
    }
    return pA;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published