Python LinkedList and Stack Implementation
This repository contains Python code for implementing a singly linked list and a stack data structure using a singly linked list.
Overview
This Python repository provides implementations of a singly linked list and a stack data structure. It includes classes for Node, LinkedList, and Stack, along with methods to perform various operations such as insertion, deletion, searching, pushing, popping, and more.
Features
Singly Linked List: Efficiently stores and manipulates a collection of elements. Stack Data Structure: Implements a stack using a singly linked list for Last-In, First-Out (LIFO) operations. Simple Interface: Intuitive methods for performing common operations on linked lists and stacks.
Documentation
Node Class: Represents a single element in the linked list. LinkedList Class: Implements the singly linked list with methods for insertion, deletion, searching, and display. Stack Class: Provides a stack data structure with methods for push, pop, peek, and isEmpty operations.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or create a pull request on GitHub.
Name:Entisar Elias
ID NO: UGR/4241/15
Section: 3