Talk:Hoshen–Kopelman algorithm

Latest comment: 1 year ago by Hugo.cavalcante in topic Bug in pseudo-code

Bug in pseudo-code

edit

If we implement the pseudo-code as is it does not work. The loops on x and y start at 0, but there are indexes in arrays with value x-1 and y-1, which would raise an error. Hugo.cavalcante (talk) 19:32, 24 February 2023 (UTC)Reply