Clone a linked list with next and random pointer | gfg potd | 20-09-24 | GFG Problem of the day

  Рет қаралды 848

CodeGenius

CodeGenius

Күн бұрын

Пікірлер: 15
@CodeGenius316
@CodeGenius316 Ай бұрын
If you understood then please don't go without liking the video
@fq20fartalesuraj26
@fq20fartalesuraj26 Ай бұрын
Bro Try to just return NULL code will get submitted 😅😅
@TheExploringMinds1428
@TheExploringMinds1428 Ай бұрын
Thanks🙏
@Griffin6971
@Griffin6971 Ай бұрын
liked 👍 👍
@divyanshugupta4266
@divyanshugupta4266 Ай бұрын
bhai thoda Readable code likha kro yrrr
@rkyt4519
@rkyt4519 Ай бұрын
harder than i thought , i understood the concept , but I am unable to code it in python. Maybe bcz I have less knowledge and practice with linkedlists
@onkardhingra9083
@onkardhingra9083 Ай бұрын
Keep Going!
@fq20fartalesuraj26
@fq20fartalesuraj26 Ай бұрын
Just return NULL; and submit your code Code will get submitted
@onkardhingra9083
@onkardhingra9083 Ай бұрын
Wow! can you please explain how?
@CodeGenius316
@CodeGenius316 Ай бұрын
Lol bro that's because we have to create clone of the given linked list so if we Just return the head of input linked list that will work 😂 but ye thodi krna hai ...padhai kro 😂
@onkardhingra9083
@onkardhingra9083 Ай бұрын
@@CodeGenius316 meine kra try, input list ka head return karne ki, fail ho gaya. Isiliye i want to know ki return NULL se execute kaise ho gaya, kyunki usse ho raha hai...
@aizad786iqbal
@aizad786iqbal Ай бұрын
it doesn't work in Java though...
@fq20fartalesuraj26
@fq20fartalesuraj26 Ай бұрын
@@CodeGenius316 yes 😅😅😅 But when I saw the driver code. I found that this code doesn't have any tight constraints
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,6 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 45 МЛН
Lecture 52: Clone a Linked List with Random Pointers || C++ Placement Course
55:08
36 Blind 75 | Course Schedule | Explained with BFS & DFS
46:51
10 FORBIDDEN Sorting Algorithms
9:41
Ardens
Рет қаралды 919 М.
Clone/Copy a linked list with next and  random pointers
7:12
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 60 М.
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,6 МЛН