title: What data structure or algorithm is used for autocompletion?
body: <p>When we type half the command or name and we press tab, it immediately finds out remaining part. What data structure/algorithm is used underneath to achieve this efficiency?</p>