Goutam Sharma’s Post

View profile for Goutam Sharma, graphic

Student of Computer Science and Engineering 9+CGPA || C || C++ || Data Structure and Algorithms|| Python || Operating System || @Leetcode 340+

🌟Day - 76🌟 Hello Connection! This is day 76 of my 💯 days leetcode challenge Today's Problem 1️⃣ Problem :- Swap Nodes in Pairs Description :-Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.) Example 1: Input: head = [1,2,3,4] Output: [2,1,4,3] #Leetcode #Leetcode100dayschallenge #C++ #skillswallah #Day76 #consistency #DSA #leetcode170+ #PW #Skilkswallah

  • No alternative text description for this image

To view or add a comment, sign in

Explore topics