Open Sukhrobjon opened 4 years ago
set()
ll.replace()
ll.delete(node_data) ll.append((key, value))
to
ll.replace(node_data, key)
it will improve the run time a little bit.
set()
method you can just usell.replace()
instead of deleting that key and append it. so it would change fromto
it will improve the run time a little bit.