Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Python Tutorials - Singly Linked List | Program | Part 1
Play lesson

Data Structures | Python - Python Tutorials - Singly Linked List | Program | Part 1

4.0 (0)
17 learners

What you'll learn

This course includes

  • 19.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this Python Programming video tutorial you will learn about how to implement Linked List data structure in python in detail. Data structure is a way of storing and organising the data so that it can be accessed effectively. Linked List is a linear data structure made up of chain of nodes in which each node contains a data field and link or reference. To implement Singly Linked List we are using class concepts here. Program: class Node: def __init__(self,data): self.data = data self.ref = None class LinkedList: def __init__(self): self.head = None def print_LL(self): if self.head is None: print("Linked list is empty!") else: n = self.head while n is not None: print(n.data) n = n.ref #DataStructures #PythonPrograms #LinkedList For more free tutorials on computer programming http://www.facebook.com/AmulsAcademy twitter.com/AmulsAcademy

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere