Lua: Tables
Tables are the only data structure in Lua. It is one of the wildest data structure that I have come across that is a core part of a language. It does take a while to understand tables in Lua, so take your time and try not to get discouraged, the understanding will come.
Tables can be used to represent many other data structures, like sets and arrays, which is why Lua only has this single data type.
Creation
Indexes
Traversal
Use the pairs
iterator to traverse all key/value pairs in a table.