Given N x M character matrix A of O's and X's, where O = white, X = black. Return the number of black shapes. A black shape consists of one or more adjacent X's (diagonals not included) Input 1: A = [ ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results