DSA-guide
DSA-guide copied to clipboard
linked list- swap nodes in pair
Is your feature request related to a problem? Please describe. https://leetcode.com/problems/swap-nodes-in-pairs/ Given a linked list, swap every two adjacent nodes and return its head. Difficulty: medium
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
- A clear and concise description of what you want to happen.
Describe alternatives you've considered
- A clear and concise description of any alternative solutions or features you've considered.
Additional context
- Add any other context or screenshots about the feature request here.
Please assign this to me under crosswoc for python and C++
Hi @ankitapuri I would like to solve it in Java or Python. Please assign it to me in any one of the languages.
Will do it in C++
Hi @ankitapuri I would like to solve it in Java or Python. Please assign it to me in any one of the languages.
Do in python
Will do it in C++
I can assign u one issue at a time .