Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug Report for Lowest Common Ancestor in Binary Search Tree #3882

Closed
@navinp0304

Description

@navinp0304

Bug Report forhttps://neetcode.io/problems/lowest-common-ancestor-in-binary-search-tree

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.?title=Bug Report for Lowest Common Ancestor in Binary Search Tree

Sample test case 2 segfaults. I tried the same code in leetcode and it works fine.

Runtime Error (NZEC)Passed test cases: 1 / 26stderrrun.sh: line 1:     3 Segmentation fault      (core dumped) LD_LIBRARY_PATH=/usr/local/gcc-9.2.0/lib64 ./a.outLast executed test caseInput:root=[5,3,8,1,4,7,9,null,2]p=3q=4Expected output:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp