- Notifications
You must be signed in to change notification settings - Fork2.4k
Closed
Description
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
Labels
No labels