110 - Insert a node at a specific position in a linked list | Linked List | Python

110 - Insert a node at a specific position in a linked list | Linked List | Python

Hackers Realm

3 года назад

13,372 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ashwin Harish
Ashwin Harish - 22.07.2023 11:45

why we returning head pointer sir?

Ответить
Rohan Singh
Rohan Singh - 17.08.2022 19:04

if run this program in the jupyter notebook and make a class node and class Linked list we got a error......

Ответить
Devwart Kumar
Devwart Kumar - 17.05.2022 05:48

sir why it throw an error when count =0 ???

Ответить
shravan bommu
shravan bommu - 17.03.2022 06:28

What is node need to insert at end? Is this code works?

Ответить
Vishnu_Datta_1698
Vishnu_Datta_1698 - 25.11.2021 10:53

Hi, why should we return the head pointer. Please explain. Thank you.

Ответить
Rahul Jain
Rahul Jain - 11.10.2021 14:47

Easy and Cute....

Ответить
hulk sky
hulk sky - 22.04.2021 12:42

bhai tere solutions compilation time exceed kar jaatey hai

Ответить
Bhoopesh Mishra
Bhoopesh Mishra - 29.12.2020 08:18

Bro if we take positions ==0
Then element at 0 get exhausted with this logic

Ответить
Bhoopesh Mishra
Bhoopesh Mishra - 27.12.2020 20:12

I was stuck in this problem for more than 5 hrs
Thanks for sloving my problem

Ответить
Bhoopesh Mishra
Bhoopesh Mishra - 27.12.2020 20:11

I was stuck in this problem for more than 5 hrs
Thanks for sloving my problem

Ответить
Asan Akhmetov
Asan Akhmetov - 03.10.2020 16:02

How did u understand the linked list. I want sources or tasks to develop))

Ответить
Viren Varma
Viren Varma - 10.09.2020 03:51

With is logic, after inserting some elements, if I enter position = 0 then, it will insert at position 1 i.e after head. How can I insert a node at position 0?

Ответить
SAMEER KAUSHIK
SAMEER KAUSHIK - 23.08.2020 00:13

sir upload cyclic detection linked list problem and other linked list problem
ASAP

Ответить