ankitapuri / DSA-guide

Trying to cover important DSA
MIT License
49 stars 114 forks source link

Added source code for 'Swap nodes in pairs' problem in Python #292

Open abhinav5481 opened 3 years ago

abhinav5481 commented 3 years ago

Related Issuse

Closes: #286

Describe the changes you've made

Added source code for 'Swap nodes in pairs' problem in Python

Type of change

How Has This Been Tested?

Local machine

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NA

Checklist:

Please review my code.

abhinav5481 commented 3 years ago

Hi @ankitapuri Please review my PR.

abhinav5481 commented 3 years ago

Hi @ankitapuri Please review my PR. As today is the last date for CRossWoc. Please

abhinav5481 commented 3 years ago

Its not giving any output

It is a functional problem. problem was intended to write a function to swap nodes.

ankitapuri commented 3 years ago

I know its a leetcode ques , but its answer should depend on the input not . U can see the test cases as well .