if index found delete that node
if ( index == count ) : NEW_LINE INDENT previous . next = next . next NEW_LINE return head NEW_LINE DEDENT previous = previous . next NEW_LINE next = previous . next NEW_LINE len = len - 1 NEW_LINE count = count + 1 NEW_LINE return head NEW_LINE