REORDER ROUTES TO MAKE ALL PATHS LEAD TO THE CITY ZERO | LEETCODE 1466 | PYTHON BFS SOLUTION

  Рет қаралды 259

Cracking FAANG

Cracking FAANG

Күн бұрын

Пікірлер: 3
@suri4Musiq
@suri4Musiq 22 күн бұрын
Fundamental question - what are some ways to store a graph? I was thinking about a Node structure with elements having value and children. But using a dictionary of dictionary is soo much more easier!
@suri4Musiq
@suri4Musiq 22 күн бұрын
I also think you could have explained it better - like the reason it is 1 and 0 initially is so that it can ease the computation of answer later in the code. but it was a little too convoluted to begin with!
@monilcharola6873
@monilcharola6873 24 күн бұрын
I was able to solve it on own!
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 60 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 24 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 90 МЛН
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 105 М.
How I animate 3Blue1Brown | A Manim demo with Ben Sparks
53:41
3Blue1Brown
Рет қаралды 939 М.
BASIC CALCULATOR II | LEETCODE 227 | PYTHON SOLUTION
15:40
Cracking FAANG
Рет қаралды 23 М.
LeetCode Problem 951: Flip Equivalent Binary Trees
23:05
Kyle McFatter
Рет қаралды 18
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 129 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 199 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 60 МЛН