Skip to content

min-1870/Modified_Linked_List_for_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Modified_Linked_List_for_Python

len()

This method return the number of the elements in the list.
Big-O: O(1)
Input: linkedList
Output: int

empty()

This method check the list is empty or not.
Big-O: O(1)
Input: None
Output: boolean

append()

This method append the element to the list.
Big-O: O(1)
Input: None
Output: None

removeAtIndex()

This method remove the node at the index.
Big-O: O(n) n = index
Input: int
Output: None

removeAtIndexes()

This method remove the nodes at multiple indexes.
Big-O: O(n) n = the biggest index in the list
Input: list
Output: None

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages