单词在网格中的最大出现次数
The Maximum Number of Appearances of a Word in a Grid
摘要:
如何用字母A和M填充$3\times 3$网格,以便单词"AMM“在网格中出现尽可能多的次数?更一般地说,给定一个长度为$n$的单词$w$,如何填充$n\times n$网格以使$w$出现尽可能多的次数?我们完全解决这个问题的几个家庭的话,我们渐近解决这个问题在高维网格。
英文摘要:
How can you fill a $3\times 3$ grid with the letters A and M so that the word ``AMM'' appears as many times as possible in the grid? More generally, given a word $w$ of length $n$, how can you fill an $n\times n$ grid so that $w$ appears as many times as possible? We solve this problem exactly for several families of words, and we asymptotically solve this problem in higher-dimensional grids.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。