Unverified Commit 4c02b2a7 authored by aofall's avatar aofall Committed by GitHub
Browse files

Update docs/ds/linked-list.md



Update linked-list "if is evil.."

Co-Authored-By: default avatarXeonacid <h.dwwwwww@gmail.com>
parent c626ee1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ void insertNode(int i, Node *p) {
    node->left = node;
    node->right = node;
  }
  if (p != NULL) {
  else {
    node->left = p;
    node->right = p->right;
    p->right->left = node;