PGoCareerGoCareer prep tools
Home
LoginSign up
  • Java
  • Python
  • AI
  • React
  • Angular
  • PHP
  • Node.js
  • SQL
  • DSA
  • HTML
  • CSS
  • JS
  • Spring
  • ML
  • MongoDB

DSA · Theory

Singly Linked List

← All stacks

Theory

12/810

Singly Linked List

Don’t start Singly Linked List with jargon. Start with a ticket queue node. That is the whole point.

Singly Linked List order — meaning → head → next → … → one limit. Dumping ten features helps nobody.

Without Singly Linked List, a counter gets messy and a ticket queue node is hard to trust.

Use Singly Linked List when a ticket queue node must stay clear. If a simpler DSA step works, use that instead.

If a ticket queue node breaks under Singly Linked List, check losing the next pointer on delete first.

Singly Linked List is not a lonely heading. Arun ties it to a ticket queue node.

One breath for Singly Linked List, then a ticket queue node, then losing the next pointer on delete. Sit down.

Diagram
  [10] → [20] → [30] → /
   head              tail
Exam tip

Board: a ticket queue node. Dry-run Singly Linked List. Name the trap: losing the next pointer on delete.

Example

class Node:
    def __init__(self, val, next=None):
        self.val = val
        self.next = next

head = Node(1, Node(2, Node(3)))
cur = head
while cur:
    print(cur.val, end=" -> " if cur.next else "\n")
    cur = cur.next

Singly Linked List — a linked list chains nodes with next pointers instead of contiguous indexes.

Short notes

  • DefSingly Linked List — Arun uses it for a ticket queue node in a counter.
  • RuleSingly Linked List → head → next → ….
  • RememberSingly Linked List + a dry-run table (a counter).
  • UseSingly Linked List in a counter (a ticket queue node).
  • TrapSingly Linked List — losing the next pointer on delete.
  • ExSingly Linked List → a ticket queue node.

Questions

1

Define Singly Linked List without jargon. Then point at a ticket queue node.

2

Name one DSA screen/job that needs Singly Linked List.

3

Viva: one wrong answer people give for Singly Linked List.

4

Show Singly Linked List in a dry-run table terms — three lines max.

Previous← Types of Linked ListNextDoubly Linked List →
P

GoCareerGo

Utilities · Preparation Hub · Resume · CV · Tools — one workspace.

Workspace

DashboardProfilePreparation HubResume builderCV builderCareer planning

PDF Tools

Merge PDFSplit PDFCompress PDFImage to PDFAll toolsJobs

Image & QR

Compress ImageResize ImageQR ScannerQR GeneratorBlogIT interview prep

Company

FAQFeedbackContactPrivacyTermsSitemap

© 2026 GoCareerGo. Keep moving forward.