Pre-reads

PRE-READS

Linked List 2-3

1. What is a Circular Linked List? A Circular Linked List is a variation of a singly or doubly linked…

December 12, 2024
PRE-READS

Linked List 2-2

1. Insertion in a Doubly Linked List Insertion in a DLL can be done at three key places: Example: Insertion…

December 12, 2024
PRE-READS

Linked List 2-1

1. What is a Doubly Linked List (DLL)? A Doubly Linked List is a data structure where each node has…

December 12, 2024
PRE-READS

Linked List 1-5

Linked List 1. Recursive Approach In the recursive approach, we reverse the rest of the list and adjust pointers along…

December 12, 2024
PRE-READS

Linked List 1-4

Linked List 1. Why Reverse a Linked List? Reversing a linked list is a common coding problem where the goal…

December 12, 2024
PRE-READS

Linked List 1-3

Loop Detection in Singly Linked Lists 1. What is a Loop in a Linked List? A loop in a linked…

December 12, 2024
PRE-READS

Linked List 1-2

Linked Lists 1. Insertion into a Singly Linked List There are three cases for inserting a node into a singly…

December 12, 2024
PRE-READS

Linked List 1-1

Linked List 1. Singly Linked List A Singly Linked List is a data structure consisting of nodes where each node…

December 12, 2024
PRE-READS

Dynamic programming 5-2

Dynamic Programming on trees involves solving problems where nodes are organized in a tree structure, leveraging parent-child relationships. Common problems…

December 12, 2024