โ† OLA questions

Check cycle of size greater than three in character grid

Filed under OLA

The question

Given an n*m grid of characters, check if a cycle of size greater than three exists containing similar adjacent characters.

No write-up yet. Related questions below have one.

Related OLA questions

Collected from public candidate posts and coding forums. Updated Nov 2026.