Feeds
提问
Accessing surrounding elements in an array
I have been given a random square matrix and each element in the matrix has 8 surrounding elements called their "neighbors". I a...
7 years 前 | 1 个回答 | 0
1
个回答提问
check if elements in an array are equal to 0 1 or 2
i have been given a random sqaure matrix. how do i check that all the elements witihin my array are equal to 0,1 or 2?
7 years 前 | 2 个回答 | 0
