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.
- Download the cpp file (was tested in visual studio)
- Download the dict.txt file (This is dictionary which contains the correct spellings of words). Put it in same directory as above cpp file
- Download check.txt or make a new file yourself in which you want to check the spelling mistakes.