alestane icon

Dictionary tree (verify result)

alestane | PRO | 02/03/14 02:47:16 PM UTC | 0 ⭐ | 332 👁️ | Never ⏰ | []
Lua |

180 B

|

None

|

0 👍

/

0 👎

local dictionary = {}
 
local function insertWord(dict, word)
    local head, tail = word:upper():match('^(%a)(%a*)$')
    if head then return false; end
end
 
insertWord(dictionary, 'BAG')

Comments