|
@@ -269,7 +269,7 @@ class Board { |
|
|
/** |
|
|
/** |
|
|
* Predicate to check if a wall creates a closed room. |
|
|
* Predicate to check if a wall creates a closed room. |
|
|
* |
|
|
* |
|
|
* This algorithm has a complexity of O(N^2) where N represents the total |
|
|
|
|
|
|
|
|
* This algorithm has a complexity of O(N^2logN) where N represents the total |
|
|
* number of tiles. |
|
|
* number of tiles. |
|
|
* It should be used with care. |
|
|
* It should be used with care. |
|
|
* |
|
|
* |
|
|