Lec 3 | Circular Linked List | Insertion | Data Structures
@VimalKaushik-g3t Please Like, Share, and Subscribe. If any doubts or feedback, please comment below. In this video, we discussed about 1. Introduction to Circular Linked List 2. Insertion of a new node in a circular linked list. The logic is as follows, void insertion() { if(last == NULL) { printf("Empty List.\n"); return; } crl: printf("Enter position to insert:\n"); scanf("%d",&pos); if(pos(less than symbol)1 || pos(greater than symbol)n+1) { printf("Invalid position to insert.\n"); goto crl; } printf("Enter element to insert:\n"); temp = (crllst*)malloc(sizeof(crllst)); scanf("%d",&temp-(greater than symbol)data); temp-(greater than symbol)link == NULL; if(pos == 1) { temp-(greater than symbol)link = last-(greater than symbol)link; last-(greater than symbol)link = temp; } else if(pos == n+1) { temp-(greater than symbol)link = last-(greater than symbol)link; last-(greater than symbol)link = temp; last = temp; } else { crllst *ins = last-(greater than symbol)link; for(int i=1 ; i(less than symbol)pos-1 ; i++) { ins = ins-(greater than symbol)link; } temp-(greater than symbol)link = ins-(greater than symbol)link; ins-(greater than symbol)link = temp; } n++; printf("%d inserted at %d successfully.\n", temp-(greater than symbol)data, pos); }

Lec 4 | Circular Linked List | Deletion | Data Structures

How I would learn Leetcode if I could start over

From Child Prodigy to Winning Fields Medal, Nobel of Math

Lec 1 | Circular Linked List | Creation | Data Structures

If You Have A Bad Memory, I’ll Help You Fix It In 28 Minutes

The Anti Trampoline Effect

Kafka Crash Course - Hands-On Project

What Nobody Tells You About Being a Quant

Using Large Language Models | Build Your Own LLM Workshop #1

3.5 Prims and Kruskals Algorithms - Greedy Method

Calming Jazz In Forest Living Space Ambience | Elegant Jazz Music & Nature Therapy For Deep Relaxing

Lec 2 | Circular Linked List | Display | Data Structures

What to teach when AI writes the code | Rainer Stropek | TEDxLinz

The unexpectedly hard windmill question (2011 IMO, Q2)

LeetCode was HARD until I Learned these 15 Patterns

The Data Movie | Data Literacy Explained Visually

Designing Data-Intensive Applications: Chapters 1 and 2

How I animate 3Blue1Brown | A Manim demo with Ben Sparks

Google Just Dropped a Masterclass on Agentic Engineering (It's SO Good)

