Professional Documents
Culture Documents
List ADT
List ADT
N INSTITUTE OF
ENGINEERING
Department of Computer Science And Engineering
By
Mr. B.JAYARAM
UNIT 2
class ListNode :
def __init__( self, data ) :
self.data = data
a = ListNode( 11 )
b = ListNode( 52 )
c = ListNode( 18 )
Basic Class for List ADT
Print(a.data)
Print(a..next.data)
Print(a.next.next.data)