Linked list an example of a linked list in python ***Attached in PDF format because study monkey does not accept .py files***

2 Pages
132 Views
Unlock Document

Department
Computer Science
Course
CSC148H1
Professor
Steve Engels
Semester
Winter

Description
linked list data structure and the node class that does into it class Nodeobject stores a stingle item in the linked list chain def initself data nextNone initialize the node with a given data value selfdatadataselfnextnextdef strself return the string representation of this node return strselfdatastrselfnextclass Stackobject a stack which is implemented with a linked list structure def initself initialize this stack to be empty selffrontNone
More Less

Related notes for CSC148H1

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit