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
Hash
1.2k+ articles
Linked List
1.1k+ articles
Data Structures
1.1k+ articles
Linked Lists
300+ articles
Data Structures
250+ articles
Greedy Algorithms
100+ articles
Traversal
80 articles
Linked-List-Sorting
63 articles
Algorithms-Recursion
59 articles
Data Structures-Linked List
28 posts
Popular Articles
Recent Articles
Advantages, Disadvantages, and uses of Doubly Linked List
Last Updated: 02 May 2025
A Doubly Linked List(DLL) is a linear data structure that contains an extra pointer, typically called the previous pointer, together with th
...read more
Linked List
Data Structures
Data Structures-Linked List
doubly linked list
DSA
Real-life Applications of Data Structures and Algorithms (DSA)
Last Updated: 31 July 2024
You may have heard that DSA is primarily used in the field of computer science. Although DSA is most commonly used in the computing field, i
...read more
Arrays
Linked List
Tree
Graph
Stack
Queue
Heap
Hash
Matrix
Data Structures
Data Structures
Data Structures-Binary Trees
Data Structures-Tree Traversals
Data Structures-Linked List
Data Structures-Stack
Data Structures-Queue
Data Structures-Graph
Data Structures-Balanced Binary Search Trees
Data Structures-Hash
Data Structures-Array
Data Structures-Misc
Data Structures-B and B+ Trees
Data Structures-Heap
DSA
Convert a String to a Singly Linked List
Last Updated: 22 December 2022
Given string str, the task is to convert it into a singly Linked List.Examples:Input: str = "ABCDABC"Output: A - B - C - D - A - B - CInput:
...read more
Strings
Algorithms
Technical Scripter
Data Structures-Linked List
Technical Scripter 2019
DSA
Similar Topics
DSA
22.3k+ articles
Hash
1.2k+ articles
Linked List
1.1k+ articles
Data Structures
1.1k+ articles
Linked Lists
300+ articles
Data Structures
250+ articles
Greedy Algorithms
100+ articles
Traversal
80+ articles
Linked-List-Sorting
63+ articles
Algorithms-Recursion
59+ articles
Sum of the nodes of a Singly Linked List
Last Updated: 11 January 2023
Given a singly linked list. The task is to find the sum of nodes of the given linked list. Examples:Input: 7-6-8-4-1Output: 26Sum of nodes:7
...read more
Linked List
Data Structures-Linked List
Algorithms-Recursion
Traversal
DSA
Data Structures | Linked List | Question 16
Last Updated: 28 June 2021
Which of the following is an application of XOR-linked lists? (A)Implementing stacks(B)Implementing queues(C)Memory-e
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 13
Last Updated: 28 June 2021
What are the time complexities of finding 8th element from beginning and 8th element from end in a singly linked list? Let n be the number o
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 9
Last Updated: 28 June 2021
In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element is (GATE CS 2
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 8
Last Updated: 28 June 2021
The following function takes a single-linked list of integers as a parameter and rearranges the elements of the list. The function is called
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 7
Last Updated: 28 June 2021
The following C function takes a simply-linked list as input argument. It modifies the list by moving the last element to the front of the l
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 6
Last Updated: 03 February 2013
What is the output of following function in which start is pointing to the first node of the following linked list 1-2-3-4-5-6 ?[tabby title
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 5
Last Updated: 28 June 2021
The following function reverse() is supposed to reverse a singly linked list. There is one line missing at the end of the function.[tabby ti
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 4
Last Updated: 28 June 2021
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?(A)Insertion Sort(B)Quick So
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 3
Last Updated: 11 January 2013
Consider the following function that takes reference to head of a Doubly Linked List as parameter. Assume that a node of doubly
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 2
Last Updated: 10 January 2013
Which of the following points is/are true about Linked List data structure when it is compared with array?(A)Arrays have better cache locali
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
Data Structures | Linked List | Question 1
Last Updated: 05 January 2013
What does the following function do for a given Linked List with first node as head?void fun1(struct node* head){ if(head == NULL) retur
...read more
Linked Lists
Data Structures
Data Structures
Data Structures-Linked List
DSA
1
2
>>
Last
1
2
>>
Last
1
2
>>
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 !