#100 days of LeetCode
Day 1 of 100
100daysof.codes
Solution:
Swapping Nodes in a Linked List
Reorder List
// 1-> Swapping Nodes in the Linked List
ListNode* swapNodes(ListNode* head, int k) {
vector<int> v;
ListNode* temp = head;
while(temp !...
createbycreaters.com1 min read