Skip to content

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

Open
abhinav5481 wants to merge 1 commit into
ankitapuri:mainfrom
abhinav5481:abhinav5481_issue286
Open

Added source code for 'Swap nodes in pairs' problem in Python#292
abhinav5481 wants to merge 1 commit into
ankitapuri:mainfrom
abhinav5481:abhinav5481_issue286

Conversation

@abhinav5481
Copy link
Copy Markdown

Related Issuse

  • Swap nodes in pairs

Closes: #286

Describe the changes you've made

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

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

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:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Please review my code.

@abhinav5481
Copy link
Copy Markdown
Author

Hi @ankitapuri
Please review my PR.

@abhinav5481
Copy link
Copy Markdown
Author

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

Copy link
Copy Markdown
Owner

@ankitapuri ankitapuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not giving any output

@abhinav5481
Copy link
Copy Markdown
Author

Its not giving any output

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

@ankitapuri
Copy link
Copy Markdown
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linked list- swap nodes in pair

2 participants