Have the function bitmapHoles take the array of strings stored in strArr, which will be a 2-D matrix of 0s and 1s, and determine how many holes, or contiguous regions of 0s, exist in the matrix. A contiguous region is one in which there are connected groups of 0s going in one or more of four directions: up, down, left, or right. For example: if strArr is ["101111","101101","111010","001010"], then there are five holes.
On this page of the site you can watch the video online JavaScript Challenge: Bitmap Holes with a duration of hours minute second in good quality, which was uploaded by the user Michael Sokiveta 02 July 2024, share the link with friends and acquaintances, this video has already been watched 94 times on youtube and it was liked by 2 viewers. Enjoy your viewing!