leetcode
leetcode copied to clipboard
Bug Report for clone-graph
Bug Report for https://neetcode.io/problems/clone-graph
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
Test case: adjList=[[2, 3], [1, 3, 4],[1, 2, 5], [2, 5], [4, 3]] is invalid:
but with spaces removed between elements of the list (but not the sub-lists) then it is valid: adjList=[[2,3],[1,3,4],[1, 2, 5],[2, 5],[4, 3]]