|
|
back to threadReply to message- Messages should be written in English and correspond to the matter of the website.
- Messages should not contain offences and obscene words.
- Messages should not contain correct solutions.
You can mix Aho-Corasick and DFS to get very fast solution Though without Aho-Corasick and without trie and without any optimizations simply DFS with used [i] [j] and backtracking is fast
|
|
|