linyanm

Results 2 comments of linyanm

文章中的题目要会员才能做,有个相同的题目不用会员也可以做,第997题[【找到小镇的法官】](https://leetcode.cn/problems/find-the-town-judge/) 不过我感觉这类型的题目用出度和入度计算会比较简单一点,入度等于`n - 1`,并且出度等于`0`的节点就是所求的点了

I think that we could initialize value after react rendering, that means should set initial value on `useEffect`, in this case, a temporary solution is: ```javascript useEffect(() => { form.initialize({...