You might remember the meaning of the character 坑 with this easy mnemonic:
Make a pit in this earth (土) and put a big lid (亠) over it so we can use it as a table (几).
Using mnemonics to remember the meaning of Chinese characters like has a huge impact on how long to learn Mandarin it takes.