OSDN Git Service

style: format markdown files with remark-lint
author24OI-bot <15963390+24OI-bot@users.noreply.github.com>
Fri, 19 Jul 2019 11:37:44 +0000 (07:37 -0400)
committer24OI-bot <15963390+24OI-bot@users.noreply.github.com>
Fri, 19 Jul 2019 11:37:44 +0000 (07:37 -0400)
docs/ds/linked-list.md

index 289db73..3ff19ce 100644 (file)
@@ -86,8 +86,7 @@ void insertNode(int i, Node *p) {
     p = node;
     node->left = node;
     node->right = node;
-  }
-  else {
+  } else {
     node->left = p;
     node->right = p->right;
     p->right->left = node;