You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a matrix of coloured tiles the algorithm will find the maximum number of adjoining tiles that are the same colour.
Both a recursive and iterative implementation is provided.
About
Depth first search implementation to find adjacent tiles that are the same colour