diff --git a/linked_lists/delete_mid/delete_mid_solution.ipynb b/linked_lists/delete_mid/delete_mid_solution.ipynb index d0f3c58..eb32c35 100644 --- a/linked_lists/delete_mid/delete_mid_solution.ipynb +++ b/linked_lists/delete_mid/delete_mid_solution.ipynb @@ -61,13 +61,12 @@ "\n", "We'll need two pointers, one to the current node and one to the next node. We will copy the next node's data to the current node's data (effectively deleting the current node) and update the current node's next pointer.\n", "\n", - "* Check for error cases listed above\n", "* set curr.data to next.data\n", "* set curr.next to next.next\n", "\n", "Complexity:\n", "* Time: O(1)\n", - "* Space: In-place" + "* Space: O(1)" ] }, {