I try to replace
kidright with PEP8 style and got runtime error for the case:
[2, 1] 4.142857 2
Instead, I replaced
dist with PEP8 style and got wrong answer for the case:
[1,null,8] 3.0 1
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.