DAT
![[LeetCode] 531. Lonely Pixel I](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbGpxhy%2FbtrNRBTIHKh%2Fg2pcYfX0UFdGSCo2ebHI3K%2Fimg.jpg)
[LeetCode] 531. Lonely Pixel I
531. Lonely Pixel I Medium Given an m x n picture consisting of black 'B' and white 'W' pixels, return the number of black lonely pixels. A black lonely pixel is a character 'B' that located at a specific position where the same row and same column don't have any other black pixels. Example 1: Input: picture = [["W","W","B"],["W","B","W"],["B","W","W"]] Output: 3 Explanation: All the three 'B's ..