Skip to content

Commit

Permalink
Update swapNodesWithoutSwappingData.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mandliya committed Sep 11, 2015
1 parent 7a4e193 commit 1349f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linked_list_problems/swapNodesWithoutSwappingData.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* Problem : Given a linked list, and two data values, x and y.
* Goal: Swap the nodes of linkedlist by swapping pointers ( and not swapping data) such that nodes with data x will contain y and vice versa.
* Goal: Swap the nodes of linkedlist by swapping pointers
* (and not swapping data) such that nodes with data x will contain y and vice versa.
*
*/

Expand Down

0 comments on commit 1349f21

Please sign in to comment.