bhaiya code m dikkat btana
Flood fill algorithm
vo array size mai variable de rha tha ,
ab constant dia to chal gya
ok …
…
…
…
…
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
bhaiya ye code hai -> https://ide.codingblocks.com/s/449543
ye input file hai -> https://ide.codingblocks.com/s/449555
dekhna chal ni ra code , ekbaar check kr lo
kiti rows hai aur kita column hai ?
8 row or 20 column hai . . .
a) char array me read karo ,tum in me read kar rahe ho
b) 8 rows hai to tumhare index (0…7 ) hi hoga na ,tum 8 pass kar rahe ho flood fill function me
ab try karo
bhaiya dfs call krte vkt hm agar coordinate (5,7) de to tb bhi to fill hona chahiye, lekin ho ni rha
(5,7) pe / ye rakha …
aur hum . (dot ) ko j me change karne ki kosis kar rahe hai to kaise hoga change
Hanji Hanji vo to return hi ho jayega,
okay okay