Тёмный

Lecture-6 733. Flood Fill using BFS and DFS | Graph Traversal | Graph Series | DSA | Hindi 

shashCode
Подписаться 16 тыс.
Просмотров 182
50% 1

Problem Name:
733. Flood Fill
Problem Statement:
An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image.
You are also given three integers sr, sc, and color. You should perform a flood fill on the image starting from the pixel image[sr][sc].
To perform a flood fill, consider the starting pixel, plus any pixels connected 4-directionally to the starting pixel of the same color as the starting pixel, plus any pixels connected 4-directionally to those pixels (also with the same color), and so on. Replace the color of all of the aforementioned pixels with color.
Return the modified image after performing the flood fill.
Problem Link:
leetcode.com/problems/flood-f...
Graph Playlist:
• Graph Data Structure S...
Java Plus DSA Placement Course Playlist:
• Java and DSA Course Pl...
Java Plus DSA Sheet:
docs.google.com/spreadsheets/...
Notes:
github.com/Tiwarishashwat/Jav...
Telegram Link:
shashwattiwari.page.link/tele...
Ultimate Recursion Series Playlist:
• Recursion and Backtrac...
Instagram Handle: (@shashwat_tiwari_st)
shashwattiwari.page.link/shas...
Samsung Interview Experience:
• I cracked Samsung | SR...
Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
Timestamp:
0:00 - Introduction
#ShashwatTiwari #coding​​ #problemsolving​

Опубликовано:

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@RohitKumar-dz8dh
@RohitKumar-dz8dh 22 дня назад
Thanks 😊
@mr.nishantawasthi4402
@mr.nishantawasthi4402 22 дня назад
Great explain sir
@mr.nishantawasthi4402
@mr.nishantawasthi4402 22 дня назад
Sir iss series main 50+. Questions karba dena please... Fir koi RU-vid channel aap ki barabari nahi kar paye ga
Далее
506. Relative Ranks | Leetcode | Python
5:31
Просмотров 1,3 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 808 тыс.
How LinkedIn improved their latency by 60%
10:00
Просмотров 40 тыс.
5 SIMPLE Pytest tricks to improve your tests
14:15
Просмотров 1,8 тыс.