removeNthFromEnd
py0922 opened this issue · comments
潘娜娜 commented
if len(linklist)<n there is error
Qiyuan Gong commented
Yes. In real world application, we should handle this. But, this question has a condition in description, i.e., Given n will always be valid
.
So, we don't have to check n
. :)