Number of Islands - Leetcode 200 - Graphs (Python)
Greg Hogg
View ChannelAbout
Hey there - my name is Greg Hogg, a statistics alumni from the University of Waterloo in Ontario, Canada. I'm an ex-AI researcher who's published medical papers with Deepbreathe.ai, a startup that continues to win awards in the US military due to my and other's research. I still do AI contracts with companies like Nvidia, HP, and other big names today. I'm most known as a popular coding teacher online for interview skills like DSA and System Design, with over 150 million organic views and 650k+ followers in the space. My day job is running MLNOW Inc (which owns Algomap.io), where I help busy individuals get into the world's best software engineering roles at companies like FAANG. My company's website Algomap has over 75,000 users and a personalized live program tailored to cracking FAANG.
Latest Posts
Upgrade Your Gaming: Top Laptops Under $1000
AI-recommended products based on this video

acer Nitro 50 N50-620-UA91 Gaming Desktop | 11th Gen Intel Core i5-11400F 6-Core Processor | NVIDIA GeForce GTX 1650 | 8GB DDR4 | 512GB NVMe M.2 SSD | Intel Wi-Fi 6 AX201 | Keyboard and Mouse

NIDOO 15.6 inch Laptop Sleeve Case Computer Bag for 15.6" Lenovo Legion 5 / IdeaPad Gaming 3i / ThinkPad L15 T15 E15 / 16" Legion 7i 9i / Legion 5 Pro/ThinkPad E16 16p /Yoga 7i / Galaxy Book3 HP Dell

NIDOO Laptop Sleeve 15.6 inch Computer Bag for 15.6" Lenovo Legion 5 / Legion Slim 7 / ThinkPad T15 E15 / 16" Legion 7i / Legion 5 Pro/IdeaPad 3i / 16.1" Gaming 16 / Acer Dell Carrying Case, Black

New Slim 230W Charger fit for Lenovo Legion 5 7 5P C7 S7 Y520 Y740 Y730 Y900 Y910 Y920 Y7000P ThinkPad P16 P15 P73 P52 P70 ADL230NLC3A Square Yellow Tip Laptop Power Supply Adapter

135W AC Charger Fit for Lenovo Legion Slim 5 7 Y520 Y530 Y7000 Y7000P Y730 Y740 Y700 Y50, ThinkPad P1 P15v P16 P16v P50 P70 P71 T15p X1 Extreme Gen 1 2 3 4 5, T440P T470P T540p L340, Laptop

Asus ROG Strix 1000W Gold Aura Edition (Fully Modular Power Supply, 80+ Gold Certified, ATX 3.0, Cybenetics Lambda A+ Certification, PCIe Gen 5.0 Ready, Axial-tech Fan, Aura Sync, 10-Year Warranty)

240W 180W AC Charger Fit for Dell G15 G16 G7 G5 G3 Series 5500 5505 5510 5515 5511 5520 5521 5525 5530 5535 5587 5590 7500 7588 7590 7700 7790 7620 7630 3500 3579 3590 3779 LA240PM160 Gaming Laptop

Dell G16 Gaming Laptop 7630-16-inch QHD+ 240Hz 3ms Display, Intel Core i9-13900HX, 32GB DDR5 RAM, 1TB SSD, NVIDIA GeForce RTX 4060 8GB GDDR6, Windows 11 Home, Onsite Service - Metallic Nightshade

GIGABYTE - AORUS Elite 16 Gaming Laptop - 165Hz 2560x1600 WQXGA - NVIDIA GeForce RTX 5070 - Intel Core Ultra 9 275HX - 1TB SSD with 32GB DDR5 RAM - Windows 11 Home AD (AORUS Elite 16 BWHC3USC64SH)

18 Inch Portable Display, 2.5K 2560x1600P 144Hz IPS Slim External Second Screen with Dual USB C, 16.7M Colors, VESA Mount, for Laptop Gaming

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

New SteelSeries Arctis Nova Pro for Xbox Multi-System Gaming Headset - Premium Hi-Fi Drivers - Hi-Res Audio - 360° Spatial - GameDAC Gen 2 - Quad-DAC - ClearCast Gen 2 Mic - Xbox, PC, PS5/PS4, Switch

NEW SteelSeries Arctis Nova 3 Multi-Platform Gaming Headset - Signature Arctis Sound - ClearCast Gen 2 Mic - PC, PS5/PS4, Xbox Series X|S, Switch, Mobile

llano RGB Laptop Cooling Pad with Powerful Turbofan Gaming Cooler Radiator with Infinitely Variable Speed, Touch Control, LCD Screen, 3-Port USB Hub, Seal Foam for Notebook Computer 15-19in

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook

Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac, Black

18.5inch Portable Monitor, 1080P USB C HDMI Second External Monitor for Laptop, PC, Mac Phone, Ultra Thin Gaming Display with Stand & Speakers, for Work & Entertainment

16" Portable Monitor for Laptop - 1200P FHD Travel Monitor for Laptop IPS LCD USB C/USB A/HDMI Second Screen with Stand Gaming Monitor for PC MAC Computer Switch Phone Xbox PS4/5

16" Portable Monitor for Laptop - 1200P FHD Laptop Screen Extender HDMI USB C Travel External Display with Stand Gaming Monitor for PC MAC Switch Phone Computer Xbox PS4/5


