Insert Greatest Common Divisors in Linked List - Leetcode 2807 - Linked Lists (Python)

  Рет қаралды 1,440

Greg Hogg

Greg Hogg

Күн бұрын

Пікірлер: 7
@GregHogg
@GregHogg 4 ай бұрын
Master Data Structures & Algorithms For FREE at AlgoMap.io!
@JoeTan-nq4fq
@JoeTan-nq4fq 2 ай бұрын
You can implement one liner gcd = lambda a, b: a if not b else gcd(b, a % b).
@ivunag
@ivunag 7 ай бұрын
Hey Greg, Great video. Very clear! What is the application you are using to show the linked list and recording your steps?
@GregHogg
@GregHogg 7 ай бұрын
Thank you so much!! I record with obs and I draw with miro
@BillyL6
@BillyL6 2 ай бұрын
I thought they want us to implement the gcd function. but i guess it's okay
@Saheryk
@Saheryk 7 ай бұрын
What? This is medium? I don't believe.
@GregHogg
@GregHogg 7 ай бұрын
I don't know why it's medium either. Maybe they want you to implement gcd, but I ain't doing that in a linked list question lol
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 30 МЛН
Diameter of Binary Tree - Leetcode 543 - Trees (Python)
11:16
2 Simple Ways To Code Linked Lists In Python
10:55
Anthony Sistilli
Рет қаралды 79 М.
Merge Two Sorted Lists - Leetcode 21 - Linked Lists (Python)
9:41
Reverse Linked List - Leetcode 206 - Linked Lists (Python)
8:02
Split Linked List in Parts - Leetcode 725 - Python
11:01
NeetCodeIO
Рет қаралды 12 М.
Linked List Cycle - Leetcode 141 - Linked Lists (Python)
7:47
LeetCode Palindrome Linked List Solution Explained - Java
9:35
Nick White
Рет қаралды 112 М.