Leaving LeetCode

You're leaving LeetCode for an external site that may pose security risks. Continue?
https://stackoverflow.com/questions/52652675/counting-connections-in-a-mn-matrix
Continue