Example 1Input nums 2332 edges 011213 Output 1001 Explanation In the above figure each nodes value is in parentheses

Showing the single result

Showing the single result