removeNthFromEnd
py0922 opened this issue · 1 comments
py0922 commented
if len(linklist)<n there is error
qiyuangong 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. :)