Connect with us

Tech Trends

Graph Algorithms for Technical Interviews – Full Course

Published

on



Learn how to implement graph algorithms and how to use them to solve coding challenges.

✏️ This course was developed by Alvin Zablan from Structy. Check out Alvin’s channel: https://www.youtube.com/c/AlvinTheProgrammer

🔗 Learn data structures and algorithms: https://structy.net/

❤️ Try interactive Algorithms courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Algorithms (Made possible by a grant from our friends at Scrimba)

⭐️ Course Contents ⭐️
⌨️ (0:00:00) course introduction
⌨️ (0:02:23) graph basics
⌨️ (0:07:10) depth first and breadth first traversal
⌨️ (0:29:13) has path – https://structy.net/problems/has-path
⌨️ (0:42:11) undirected path – https://structy.net/problems/undirected-path
⌨️ (1:00:44) connected components count – https://structy.net/problems/connected-components-count
⌨️ (1:13:29) largest component – https://structy.net/problems/largest-component
⌨️ (1:24:03) shortest path – https://structy.net/problems/shortest-path
⌨️ (1:39:36) island count – https://structy.net/problems/island-count
⌨️ (1:58:52) minimum island – https://structy.net/problems/minimum-island
⌨️ (2:12:05) outro

🎉 Thanks to our Champion and Sponsor supporters:
👾 Wong Voon jinq
👾 hexploitation
👾 Katia Moran
👾 BlckPhantom
👾 Nick Raker
👾 Otis Morgan
👾 DeezMaster
👾 Treehouse
👾 AppWrite

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

source

Continue Reading
42 Comments

42 Comments

  1. @CraftAndCodee

    April 15, 2025 at 5:00 am

    At the largest component problem while running the code I got answer 5 when I convert visited as String I got the correct . Anyone please tell me I have paste my code below .
    const largestComponent = (graph1) => {

    let largest = 0;

    let visited = new Set();

    for (let node in graph1) {

    const size = exploreSize(graph1, node, visited);

    if (size > largest) largest = size;

    }

    return largest;

    };

    const exploreSize = (graph1, current, visited) => {

    if (visited.has(String(current))) return 0;

    visited.add(String(current));

    let size = 1;

    for (let neighbour of graph1[current]) {

    size += exploreSize(graph1, neighbour, visited);

    }

    return size;

    };

  2. @BG-eng

    April 15, 2025 at 5:00 am

    That was a great explanation of DFS and BFS! 😊

  3. @Themaxmerock007

    April 15, 2025 at 5:00 am

    GOAT content! thank you Alvin and freeCodeCamp!

  4. @kirank3368

    April 15, 2025 at 5:00 am

    This man is a genius and a wonderful teacher 🥰

  5. @pradeeshbm5558

    April 15, 2025 at 5:00 am

    That's the god level Graph tutorial.

  6. @rashmin9705

    April 15, 2025 at 5:00 am

    I love the progression he takes, starts off from the very basic and builds up on it , that everything just sinks in! Thankk you so much Alvin!!

  7. @adeniyitaofik3832

    April 15, 2025 at 5:00 am

    AMAZING

  8. @santoshkumak

    April 15, 2025 at 5:00 am

    🙏🙏🙏🙏You are doing greatest help on mankind. I will explore all your courses.

  9. @arunbala9009

    April 15, 2025 at 5:00 am

    I have cleared my first round of interview.
    This video helped a lot. Thanks!

  10. @YipLseventy7

    April 15, 2025 at 5:00 am

    amazing examples, really helped me understand BFS when cramming for CCC

  11. @viniciusfilenga4730

    April 15, 2025 at 5:00 am

    what a gem of a course

  12. @staywithmeforever

    April 15, 2025 at 5:00 am

    10:34 that is wrong basically u move right until u cant, then if u move down first u will check if u can move right inthis case we cant we go down and at bottom we cant mover right or down we move left and then we should move right not left .

  13. @igustingurahokaprinarjaya7482

    April 15, 2025 at 5:00 am

    Hi @alvintheprogrammer,
    DF traverse recursive version output was not equals with DF traverse non-recursive version.

  14. @danieladigun2696

    April 15, 2025 at 5:00 am

    This is an incredibly straight forward and simple to understand graph video. This video definitely made me clean up rough edges in my understanding of tackling graph DSA problems. Thank you !!

  15. @chiomaubogagu7732

    April 15, 2025 at 5:00 am

    This course was incredibly helpful and so well done. Thanks so much! Alvin, you're a phenomenal teacher!!

  16. @aditi1786

    April 15, 2025 at 5:00 am

    50 mins in and THIS IS THE BEST VIDEO ON THE INTERNET handsdown!!
    Thank you so much

  17. @d69p-eix

    April 15, 2025 at 5:00 am

    I would never hire someone who uses arrays, sets or dictionaries to solve these trivia problems

  18. @TheDima23

    April 15, 2025 at 5:00 am

    Amazing course ! thank you so much for this.

  19. @RaduViorelCosnita

    April 15, 2025 at 5:00 am

    This is truly awesome. Thank you so much for this nice video and well explained algorithms.

  20. @Singh54321

    April 15, 2025 at 5:00 am

    1:19:56 longest = Math.max(longest,size) can be used

  21. @Singh54321

    April 15, 2025 at 5:00 am

    the voice, he style of teaching , the animations and visuals absolutely phenomenal. love it

  22. @mahimapatel8706

    April 15, 2025 at 5:00 am

  23. @Emanuel-yb3qk

    April 15, 2025 at 5:00 am

    Best teacher ever. Thanks for this.

  24. @TrevorSullivan

    April 15, 2025 at 5:00 am

    Extremely high quality presentation! Well done

  25. @kavan3

    April 15, 2025 at 5:00 am

    34:29 for anyone confused here, the graph in the example given is incorrect. number of edges is not n^2. To show a graph with n^2 edges each node needs to point to every other node AND also point to itself

  26. @Dani-zf7cu

    April 15, 2025 at 5:00 am

    Thank you Alvin! I've been trying to grind leetcode and DSA for interviews, and this video as well as your binary trees video was so amazingly helpful and way more efficient than blindly doing problems to help me strengthen the fundamentals, and in particular, I was really struggling with handling how to handle graphs in the form of a matrix rather than an adjacency list — I typically tried to convert it into an AL unnecessarily, but watching this video, especially the numIslands section, made things just click. You also have given me so much of a better understanding and less fear of recursion, even going to appreciation of recursion! That's crazy.

    Also, for the numIslands problem, to save a bit on space, I got rid of the visited set and just set grid[row][col] == 'V' to mark that it's visited, and only add where grid[row][col] == L. This worked.

  27. @JayDee-b5u

    April 15, 2025 at 5:00 am

    Not sure how the first depthFirstSearch is supposed to end. Doesn't seem like anything ever gets popped from the stack.

  28. @ohmegatech666

    April 15, 2025 at 5:00 am

    Just have to agree with others that this is one of if not the best course on graph problems out there. Like many, I was intimidated by graph problems early on but this video has made me so much more comfortable with them. I feel like I actually understand them at a deep level now.

  29. @ohmegatech666

    April 15, 2025 at 5:00 am

    I was confused when you started going through depth first search because you put both of A's neighbors B and C on the stack which seems to be breadth first. But what helped me to understand is the fact that the loop starts when we pop a node from the stack, not when we add it to the stack. The stack doesn't represent which node we are currently "at", the node we pop from the stack does that. The stack is just an in between step. So we don't actually "go to" C at first, we just add it to the stack for now. We do "go to" B because we pop it from the stack

  30. @thewildweb

    April 15, 2025 at 5:00 am

    This is really a damn refresher

  31. @kumarankit9243

    April 15, 2025 at 5:00 am

    alvin👍👍

  32. @avitwito1734

    April 15, 2025 at 5:00 am

    amazing tutor, The best I've seen

  33. @celeb_intel

    April 15, 2025 at 5:00 am

    I like his lecture, learn a lots, thanks man.

  34. @ChandrapalSd

    April 15, 2025 at 5:00 am

    Thanks
    You made it really
    easy

  35. @jerry861200

    April 15, 2025 at 5:00 am

    I am currently struggling with studying graphs, and you are my savior.

  36. @fandibataineh4586

    April 15, 2025 at 5:00 am

    great video, but i have a minor comment
    at 1:00:34, look at the hasPath function, i would swab the first 2 lines (line 7 and 8), which represent our 2 atomic cases, this way you can use the function to check whether there is a path from src to dst that does not pass through node x, or nodes {x, y, z}

    by calling the function with the visited set already populated with the nodes you want to exclude, this would not work with the current implementation but it still works fine

  37. @chaitanyashahare2734

    April 15, 2025 at 5:00 am

    This video is game changer!!

  38. @vaseemshaik4899

    April 15, 2025 at 5:00 am

    How is this stuff free?

  39. @xmn10

    April 15, 2025 at 5:00 am

    This is awesome, Thank you.

  40. @David___4n6e

    April 15, 2025 at 5:00 am

    Scientific insights: the significance of refund information

  41. @James__052j

    April 15, 2025 at 5:00 am

    Poetic revelation: the essence of refunds

  42. @exploregeographics

    April 15, 2025 at 5:00 am

    Excellent++ Thanks for the course.

Leave a Reply

Cancel reply

Your email address will not be published. Required fields are marked *

Tech Trends

Fail 😭 price action strategies || best trading setup || #patterns # crypto forex #trending #shorts

Published

on



source

Continue Reading

Tech Trends

CMF Phone 2 Pro – Next Level But …..!

Published

on



CMF Phone 2 Pro comes with 120Hz amoled display with new accessories customization and features
This time Nothing CMF Phone 2 comes with charger in Box and Triple camera setup with telephoto lens
Here is Nothing CMF Phone 2 pro Unboxing and Quick initial Review video
Check CMF Phone 2 Pro Camera Samples – https://bit.ly/3Sajrqk

00:00 – Intro
00:37 – Unboxing and Phone 1 vs Phone 2 Pro
03:35 – CMF Phone 2 Pro Physical
05:00 – CMF Phone 2 Pro Accessories
08:13 – CMF Phone 2 Pro Display
08:52 – CMF Phone 2 Pro Performance
11:10 – CMF Phone 2 Pro Camera
13:12 – CMF Phone 2 Pro Price

Thanks for watching

#gyantherapy
#CMFphone2pro
#unboxing

Follow me on
Instagram- https://www.instagram.com/gyantherapy/
Twitter- https://twitter.com/GyanTherapy
Telegram- https://t.co/ljQ5CHgXvj
Facebook- https://www.facebook.com/GyanTherapy/

*Business Email Only – Not For Questions & Tech Support
gyantherapyindia@gmail.com

If you want Buy anything from Amazon check here
Amazon Link – https://amzn.to/3bydbCC

source

Continue Reading

Tech Trends

Angel walking on clouds#aiart #ai #angel #angels

Published

on



source

Continue Reading

Tech Trends

Experts predict 2025’s top tech trends, tools, and skills

Published

on



You can probably guess a few of 2025’s top tech trends (hello, AI), but can you guess the tech skills and tools you’ll need to secure your career and stay relevant? Listen in as our expert Authors share their 2025 tech predictions. You’ll want your notebook handy so you can jot down exactly what you need to do—and learn—to achieve your career goals.

Want to dive even deeper into which technologies will dominate in 2025 and which skills you need to keep up? Download the 2025 Tech Forecast to discover what companies are hiring for, what others in your field are studying, and what industry experts say are the top trends right now.

Get your copy now:
https://bit.ly/49KsiXF

Links and resources
===============

Don’t wait until January to tackle your tech career to-do list. Start building the skills to stay ahead today.

Governance, risk & compliance learning path
https://bit.ly/3DlMp2l

Linux training
https://bit.ly/4gGWzcd

AI courses
https://bit.ly/3DgX91W

Data and machine learning courses
https://bit.ly/4iK5TOg

Subscribe to our channel and hit the notification bell to stay up-to-date with the latest tech insights from Pluralsight: https://plrsig.ht/subscribe

Visit us at:
Twitch: https://bit.ly/4gGkVmn
YouTube: https://bit.ly/4gIY3mb
Facebook: https://bit.ly/3VKXpfX
LinkedIn: https://bit.ly/4gIYi0W

source

Continue Reading

Tech Trends

Moto Edge 60 Pro Launch | Moto edge 60 Pro Price & specs

Published

on



source

Continue Reading

Tech Trends

cool gadgets you can buy #gadgets #shorts #youtubeshorts

Published

on



Welcome to Electric Gadgets & Products. Discover the latest in innovative electrical and non-electrical gadgets for your home. Our channel is dedicated to showcasing top-notch modular switches, LED lighting solutions, tech gadgets, bathroom gadgets, kitchen gadgets, home decor, interior decor and much more to make your life easier and your home smarter.

🌟 Whether you’re a tech enthusiast, or just looking to upgrade your home, we’ve got you covered!

👉 Subscribe now: https://www.youtube.com/channel/UC1dl1HAf6ZbtCHPsz–qsjA

#ElectricalGadgets #ModularSwitches #LEDLights #GadgetEnthusiast #TechSavvyLiving #SmartHomeDevices #TechGadgets #HomeImprovement #EnergyEfficient #HomeAutomation #BathroomTech #DIYProjects #InnovativeGadgets #ElectricalProducts #HomeTechTrends #SmartLighting #WirelessDevices #IntelligentHome #TechReviews #SmartHomeIdeas #HomeSafetyGadgets #ModernHome #EnergySaving #CuttingEdgeTech #FuturisticGadgets #gadgets #shorts #YTShorts #ytshorts #viral #trending

– Smart home devices
– High-tech gadgets
– Home improvement tips
– Energy-efficient lighting
– Home automation systems
– Bathroom tech
– DIY smart home projects
– Advanced home gadgets
– Innovative electrical products
– Home technology trends 2024
– Smart lighting solutions
– Wireless home devices
– Intelligent home systems
– Tech reviews 2024
– Smart home ideas
– Gadgets for home safety
– Modern home solutions
– Energy-saving devices
– Cutting-edge home tech
– Futuristic home gadgets

gadgets, cool gadgets, amazon gadgets, kitchen gadgets, gadget, new gadgets, best kitchen gadgets, cheap gadgets, fun gadgets, gadget review, best gadgets, cooking gadget, smart gadgets, latest gadgets, gadgets on amazon, gadgets 2024, cool tools, tech gadgets, construction gadgets, home gadgets, coolest gadgets, unique gadgets, cool gadgets under 50, cool inventions, tools, smart gadgets shorts, cool gadgets for men, tech gadgets, cool tech, future tech, amazon tech gadgets, amazing gadgets, cheap gadgets, future tech, gadgets amazon, banned gadgets, amazon electronic gadgets,smart home gadgets,gadgets for every home,home gadgets,cool gadgets,gadgets,gadgets for home,cool gadgets for home,versatile utensils and gadgets for every home,gadgets for home 2023,new gadgets,best gadgets 2024,smart gadgets 2024,smart gadgets for home,gadgets for your home & kitchen,clever amazon gadgets for home & kitchen,smart gadgets,latest gadgets,amazon gadgets for home & kitchen,gadgets for house,newest amazon gadgets for your home & kitchen,gadgets,cool gadgets,kitchen gadgets,best kitchen gadgets,new gadgets,amazon gadgets,cool gadgets 2023,gadgets 2023,best gadgets 2023,kitchen gadget,new kitchen gadgets,gadget,kitchen gadgets 2023,coolest gadgets 2023,best new gadgets 2023,best tech gadgets 2023,smart gadgets,latest gadgets,new kitchen gadgets 2023,gadget review,best kitchen gadgets 2023,coolest gadgets,gadgets on amazon,kitchen gadgets amazon 2023,gadgets,cool gadgets,amazon gadgets,smart gadgets,latest gadgets,new gadgets,gadgets on amazon,new gadgets on amazon,amazon electronic gadgets,unique gadgets,tech gadgets,coolest gadgets,cool gadgets on amazon,gadgets under 50,gadgets under 500,gadget,gadgets 2023,gadgets under,amazon tech gadgets,gadgets amazon,useful gadgets,amazing gadgets,new gadgets 2023,kitchen gadgets,best tech gadgets 2023,gadgets june 2023,cheapest gadgets

source

Continue Reading

Trending