Yahoo India Web Search

Search results

  1. Number of Islands - Given an m x n 2D binary grid grid which represents a map 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.

  2. Can you solve this real interview question? Number of Islands - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

  3. Number of Closed Islands - Given a 2D grid consists of 0s (land) and 1s (water). An island is a maximal 4-directionally connected group of 0s and a closed island is an island totally (all left, top, right, bottom) surrounded by 1s. Return the number of closed islands.

  4. Can you solve this real interview question? Number of Distinct Islands - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

  5. Count Sub Islands - You are given two m x n binary matrices grid1 and grid2 containing only 0's (representing water) and 1's (representing land). An island is a group of 1's connected 4-directionally (horizontal or vertical).

  1. People also search for