Skip to content

Commit 1349f21

Browse files
committed
Update swapNodesWithoutSwappingData.cpp
1 parent 7a4e193 commit 1349f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

linked_list_problems/swapNodesWithoutSwappingData.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
* Problem : Given a linked list, and two data values, x and y.
3-
* 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.
3+
* Goal: Swap the nodes of linkedlist by swapping pointers
4+
* (and not swapping data) such that nodes with data x will contain y and vice versa.
45
*
56
*/
67

0 commit comments

Comments
 (0)