Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Singly and Doubly Linked Lists

Note: If code is not provided below in the language you are looking for, send an email to <content+cs@teamtreehouse.com>


Singly Linked List

class Node:
    An object for storing a single node in a linked list

        data: Data stored in node
        next_node: Reference to next node in linked list

    def __init__(self, data, next_node = Non...