Closed c-git closed 1 year ago
Upon investigation it turns out they are passing a node of the actual tree as the 2nd argument. However in the sample input they only show the value of the node and hence the types do not match. This cannot be fixed and must be handled specially for this problem and thus will not fix. To work around this we've added support for input that doesn't match the type. The input just gets wrapped in a todo!()
Describe the bug When command is run instead of code being generated an error is received
Leetcode problem https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/
To Reproduce cargo leet gen https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/`
Error Message
Expected behavior
N/A
Environment Info:
Additional context
N/A