GOOGLE MOCK CODING INTERVIEW QUESTION - NUMBER OF ISLANDS (LeetCode) @CodewithVincent
GOOGLE MOCK CODING INTERVIEW QUESTION - NUMBER OF ISLANDS (LeetCode)  @CodewithVincent
Uploaded December 2021 | Updated November 2026, 3 hours ago
Mock interview for one of Google's technical question: Number of Islands.

Voices have been altered to keep anonymity . This interview question is from LeetCode (200) and was used in my Squid Game video.

Problem description: Given a 2d grid map of 1s (land) and 0s (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.

Example input:
1001
1101
0001
1001

Output: 3

Hopefully, this video can give you some insights into what a technical interview looks like, and hopefully you can get some pointers in how to perform better / clean up code :)

If you have questions, feel free to ask in the comments :)

Follow me on TikTok:
tiktok.com/@codewithvincent
Follow me on Instagram:
instagram.com/codewithvincent
Follow my cat on Instagram:
instagram.com/papaya.cat

Join the discord:
discord.gg/CsHk4A7KdC

I offer 1 on 1 mentorship as well, feel free to DM me on discord

#technicalinterview #learntocode #programming #codewithvincent

Chapters:
0:00 Intro
1:32 Explaining thought process
12:53 Start coding
36:15 Feedback
40:39 Pair programming
51:02 Live debugging
57:45 End
GOOGLE MOCK CODING INTERVIEW QUESTION - NUMBER OF ISLANDS (LeetCode)How to host a website with Github Pages (FREE in less than 5mins) | Lesson 29 (Free Coding Bootcamp)How to ace your technical interview (From prep, to applying, and doing well on the interview)for loops in real life #shorts #gymFunctions for beginners | Lesson 4 - Zero to Software Engineer Free Coding Bootcamp Reboot!Coding interview failure (story time) #shortsWhen your code doesnt work.. #programmerI suck at coding #softwareengineerInterfaces + Mini Project - Python | Lesson 19 (Free Coding Bootcamp)Introduction - Web Front-end Development | Lesson 20 (Free Coding Bootcamp)Folder Structure + Linking - Web Front-end Development | Lesson 22 (Free Coding Bootcamp)Tech Debt 101 (Software Engineer) #shorts
Code with Vincent |

GOOGLE MOCK CODING INTERVIEW QUESTION - NUMBER OF ISLANDS (LeetCode)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER