我想为以下问题场景编写算法
获取周期表元素的名称,找到可以形成的最大单词?如符号Na, Ne等应被视为单个元件.
Na
Ne
这是在一家知名公司的求职面试中被问到的.任何人都可以帮我解决这个问题.
algorithm cpu-word
algorithm ×1
cpu-word ×1