QXO | Staff Software Engineer (Staff) | Coding | Phone Screen

antriksh5235antriksh5235·
Interview Date:May 1, 2026Region:NA (North America)Hiring Team/Org:General Hire

// Given an m x n 2D grid of '1's (land) and '0's (water), return 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 surrounded by water. // Example usage: // char[][] grid = { // {'1','1','0','0','0'}, // {'1','1','0','0','0'}, // {'0','0','1','0','0'}, // {'0','0','0','1','1'} // }; // num...

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.