Linked list implementation in python - #64
Conversation
|
Hi, @AnshMishra2001 please update the above comment with relevant details. |
|
@codesankalp do we need this?? |
|
@AnshMishra2001 you need to add all the methods in the |
codesankalp
left a comment
There was a problem hiding this comment.
Remove all the extra things from this file.
Only include the mentioned functions.
|
@AnshMishra2001 are you working on this? |
|
Yes! I'll complete it soon |
|
Changes made in #40 |
| # Loop ends | ||
|
|
||
| return head | ||
| def Circular(head): |
| return(node==head) | ||
|
|
||
| def is_Palindrome(s): | ||
|
|
There was a problem hiding this comment.
handle the exception also i.e. for numbers.
|
|
||
| p.next = self.head | ||
| self.head = p | ||
| prev.next = None No newline at end of file |
There was a problem hiding this comment.
add a newline at the end of file
|
Also squash your commits into one. |
|
Please do the mentioned changes earlier and rebase your branch to avoid merge conflicts. |
Description
Related Issue
Fixes #40
Type of Change:
Code/Quality Assurance Only
Motivation and Context
How Has This Been Tested?
Checklist:
Screenshots (if appropriate):