DSA-guide icon indicating copy to clipboard operation
DSA-guide copied to clipboard

linked list- swap nodes in pair

Open pri1311 opened this issue 3 years ago • 5 comments

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.

pri1311 avatar Mar 16 '21 14:03 pri1311

Please assign this to me under crosswoc for python and C++

pri1311 avatar Mar 16 '21 14:03 pri1311

Hi @ankitapuri I would like to solve it in Java or Python. Please assign it to me in any one of the languages.

abhinav5481 avatar Mar 21 '21 18:03 abhinav5481

Will do it in C++

pri1311 avatar Mar 21 '21 18:03 pri1311

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

ankitapuri avatar Mar 22 '21 16:03 ankitapuri

Will do it in C++

I can assign u one issue at a time .

ankitapuri avatar Mar 22 '21 16:03 ankitapuri