What is the longest English word which you can form using the periodic table?
Do you know what is the longest English word which you can form using the periodic table?
Scroll down for the answer:
How to solve it.
Construct a Trie to represent all the possible words in the English Dictionary
After recursively join all the possible symbols between and check whether it is correspond to any english word.
If so, check if it is longer than the previous english word found.
If there are no more words begining with this prefix, stop
Anyway the code will explain more of this
Check it out here
https://raw.github.com/soulofpeace/SomeQuestion/master/longestEnglishWord.scala
Anyway the answer is pauciarticulate formed by
P: Phosphorous
Au: Gold
C: Carbon
I: Iodine
Ar: Argon
Ti: Titanium
Cu: Copper
La: Lanthanum
Te: Tellurium