Skip to content

Leetcode symmetric tree#16

Open
Igneaalis wants to merge 15 commits intomasterfrom
LEETCODE-symmetric-tree
Open

Leetcode symmetric tree#16
Igneaalis wants to merge 15 commits intomasterfrom
LEETCODE-symmetric-tree

Conversation

@Igneaalis
Copy link
Copy Markdown
Owner

Added LEETCODE "symmetric-tree" solution.

@Igneaalis Igneaalis requested a review from Vivelapaix June 3, 2020 10:49
# self.left = left
# self.right = right
class Solution(object):
def isSymmetric(self, root):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP8 не пройдет

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Щас поправлю.

:rtype: bool
"""
path = []
def euler(node):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Что за euler ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Напиши рядом рекурсивное решение

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

euler - реализация Эйлерова путя. Рекурсивное добавлю.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добавил рекурсивное решение.

@Igneaalis Igneaalis added the review Review requested label Jun 5, 2020
@Igneaalis Igneaalis requested a review from Vivelapaix June 5, 2020 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review Review requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants