Fix typos (#191)

This commit is contained in:
delirious-lettuce
2017-05-15 22:30:12 -06:00
committed by Donne Martin
parent cd9e9654bc
commit 9f89a51aba
33 changed files with 71 additions and 71 deletions

View File

@@ -93,17 +93,17 @@
"* incoming edge count (useful for algorithms such as topological sort)\n",
"* adjacent nodes and edge weights\n",
"\n",
"#### add_neighhbor\n",
"#### add_neighbor\n",
"\n",
"* If the neighbor doesn't already exist as an adjacent node\n",
" * Update the adjancet nodes and edge weights\n",
" * Update the adjacent nodes and edge weights\n",
" * Increment the neighbor's incoming edge count\n",
"\n",
"Complexity:\n",
"* Time: O(1)\n",
"* Space: O(1)\n",
"\n",
"#### remove_neighhbor\n",
"#### remove_neighbor\n",
"\n",
"* If the neighbor exists as an adjacent node\n",
" * Decrement the neighbor's incoming edge count\n",