This program is implemented in C++ and it detects spelling mistakes in some file based on words present in dictionary. The interesting thing is that the program detects spelling mistakes in 0(1) time complexity.