Quiz

It's quiz time! Test yourself by solving these questions about singly linked lists.

We'll cover the following...
Technical Quiz
1.

Which of the following is the correct implementation of the Node class?

A.
class Node:
   def __init__(self, data):
    self.head = data
    self.next = None
B.
class Node:
   def __init__(self):
    self.head = None
C.
class Node:
   def __init__(self, data):
    self.data = data
    self.head = None
D.
class Node:
   def __init__(self, data):
    self.data = data
    self.next = None

1 / 5