Skip to content

style: code style#91

Merged
taizilongxu merged 1 commit intotaizilongxu:masterfrom
oillamp:master
Mar 5, 2025
Merged

style: code style#91
taizilongxu merged 1 commit intotaizilongxu:masterfrom
oillamp:master

Conversation

@oillamp
Copy link
Copy Markdown

@oillamp oillamp commented Mar 3, 2021

No description provided.

@wenma
Copy link
Copy Markdown

wenma commented Mar 3, 2021

why u so diao ?

@yokonsan
Copy link
Copy Markdown

def isSameTree(p, q):
    if p and q:
        return p.val == q.val and isSameTree(p.left,q.left) and isSameTree(p.right,q.right)

    return p is None and q is None

ha~

@taizilongxu taizilongxu merged commit 28fa470 into taizilongxu:master Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants