Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Python
20.1k+ articles
Python Programs
4.1k+ articles
Amazon
1.8k+ articles
Sorting
1.7k+ articles
Linked List
1.1k+ articles
Graph
940+ articles
Microsoft
780+ articles
Linked Lists
300+ articles
Python DSA-exercises
27 articles
Python-DSA
220+ posts
Popular Articles
Recent Articles
Python Linked List
Last Updated: 14 February 2025
In this article, we will learn about the implementation of a linked list in Python. To implement the linked list in Python, we will use clas
...read more
Python
Python-DSA
Learn DSA with Python | Python Data Structures and Algorithms
Last Updated: 08 March 2025
This tutorial is a beginner-friendly guide for learning data structures and algorithms using Python. In this article, we will discuss the in
...read more
Python
Python-DSA
DSA
Hash Map in Python
Last Updated: 25 July 2024
Hash maps are indexed data structures. A hash map makes use of a hash function to compute an index with a key into an array of buckets or sl
...read more
Python
Python-DSA
DSA
Similar Topics
DSA
22.3k+ articles
Python
20.1k+ articles
Python Programs
4.1k+ articles
Amazon
1.8k+ articles
Sorting
1.7k+ articles
Linked List
1.1k+ articles
Graph
940+ articles
Microsoft
780+ articles
Linked Lists
300+ articles
Python DSA-exercises
27+ articles
Max Heap in Python
Last Updated: 11 February 2025
A Max-Heap is a Data Structure with the following properties:It is a Complete Binary Tree.The value of the root node must be the largest amo
...read more
Heap
Technical Scripter
Python
Technical Scripter 2019
Python-DSA
DSA
Queue in Python
Last Updated: 09 July 2024
Like a stack, the queue is a linear data structure that stores items in a First In First Out (FIFO) manner. With a queue, the least recently
...read more
Python
Python-DSA
Stack in Python
Last Updated: 20 June 2024
A stack is a linear data structure that stores items in a Last-In/First-Out (LIFO) or First-In/Last-Out (FILO) manner. In stack, a new eleme
...read more
Python
Python-DSA
Priority Queue in Python
Last Updated: 26 April 2025
A priority queue is like a regular queue, but each item has a priority. Instead of being served in the order they arrive, items with higher
...read more
Queue
Heap
Python
priority-queue
Python-DSA
DSA
Heap queue or heapq in Python
Last Updated: 17 March 2025
A heap queue or priority queue is a data structure that allows us to quickly access the smallest (min-heap) or largest (max-heap) element. A
...read more
Python
priority-queue
Python-DSA
Deque in Python
Last Updated: 06 March 2025
A deque stands for Double-Ended Queue. It is a data structure that allows adding and removing elements from both ends efficiently. Unlike re
...read more
Python
deque
Python collections-module
Python-DSA
Search an element in a Linked List (Iterative and Recursive)
Last Updated: 18 February 2025
Given a linked list and a key, the task is to check if key is present in the linked list ornot.Examples:Input: 14 - 21 - 11 - 30 - 10, key =
...read more
Linked List
Python-DSA
DSA
Basic Terminologies of Linked List
Last Updated: 20 October 2024
Linked List is a linear data structure, in which elements are not stored at a contiguous location, rather they are linked using pointers. Li
...read more
Linked List
Python-DSA
DSA
Write a function to delete a Linked List
Last Updated: 13 September 2024
Given a linked list, the task is to delete the linked list completely.Examples:Input: head: 1 - 2 - 3 - 4 - 5 - NULLOutput: NULLExplanation:
...read more
Linked List
Linked Lists
Delete a Linked List
Python-DSA
DSA
Program for Nth node from the end of a Linked List
Last Updated: 01 August 2024
Given a Linked List of M nodes and a number N, find the value at the Nth node from the end of the Linked List. If there is no Nth node from
...read more
Linked List
Linked Lists
Amazon
Adobe
Qualcomm
Snapdeal
Accolite
Hike
MAQ Software
Epic Systems
Citicorp
Monotype Solutions
FactSet
Python-DSA
DSA
Find Middle of the Linked List
Last Updated: 04 September 2024
Given a singly linked list, the task is to find the middle of the linked list. If the number of nodes are even, then there would be two midd
...read more
Linked List
Microsoft
Amazon
Adobe
Morgan Stanley
Flipkart
Qualcomm
Samsung
VMWare
Payu
Zoho
Hike
Nagarro
MAQ Software
GE
Veritas
Wipro
Python-DSA
DSA
Write a function to get Nth node in a Linked List
Last Updated: 23 August 2024
Given a LinkedList and an index (1-based). The task is to find the data value stored in the node at that kth position. If no such node exist
...read more
Linked List
GetNth
Linked Lists
Python-DSA
DSA
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !