You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Want to add Sorted Linked List to Data Structires #11768
class Node:
def init(self, data):
self.data = data
self.next = None
class SortedLinkedList:
def init(self):
self.head = None
def insert(self, data):
if not self.head or data < self.head.data:
new_node = Node(data)
new_node.next = self.head
self.head = new_node
else:
current = self.head
while current.next and data > current.next.data:
current = current.next
new_node = Node(data)
new_node.next = current.next
current.next = new_node
def print_list(self):
current = self.head
while current:
print(current.data, end=" ")
current = current.next
print()
Guys Guys Guys calm down, I opened the issue after I opened a pull request you can see #11607. The purpose of opening the issue is to get attention of maintainers to review the pull request
Activity
AnuragSingh0000 commentedon Oct 5, 2024
@mjk22071998 Is this issue completed? If not I would like to add it. Please respond.
mjk22071998 commentedon Oct 5, 2024
Yes this is complete
[-]Want to add sorted Linked List to Data Structires[/-][+]Want to add Sorted Linked List to Data Structires[/+]roshankraveendrababu commentedon Oct 6, 2024
please assign this issue to me if it is in open. please respond to this message it will help me an long way in my professional devolopment
mjk22071998 commentedon Oct 6, 2024
I do not have permissions to assign this issue to anyone
roshankraveendrababu commentedon Oct 6, 2024
so whom should i ask for assignation ..
mjk22071998 commentedon Oct 6, 2024
Whoever is maintaining the repo
onhgomat commentedon Oct 7, 2024
Can I try this can you give me this opportunity I want it
onhgomat commentedon Oct 7, 2024
class Node:
def init(self, data):
self.data = data
self.next = None
class SortedLinkedList:
def init(self):
self.head = None
mjk22071998 commentedon Oct 7, 2024
Guys Guys Guys calm down, I opened the issue after I opened a pull request you can see #11607. The purpose of opening the issue is to get attention of maintainers to review the pull request