1. S

    Algorthm for combining regions

    Within a rectangular area (a matrix M * M elements) I access several parts of it (each N * N, but N varies). Some of these parts might overlap and i don't want to access those parts (elements) a second time. I know there must be an algorithm to combine the parts I accessed already and tell...