Skip to content

549. Binary Tree Longest Consecutive Sequence II #62

@altay9

Description

@altay9

Burada, istenen şey bir Binary Tree'deki en uzun yollar "ardışık elemanlı" array isteniyor.
Bu sefer ardışık (Consecutive) olma durumu artan sırada da azalan sırada da olabilir. Parent'tan child'a olabilir veyâ tam tersi de olabilir. Child-parent-child yolunu da izleyebilir.

Örnekler incelenmeli:
https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii/

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions