a. definition of distance
b. beginword can be in dict
c. endword may not be in dict at all.
- problem-solving skill
In finding one-letter-diff word ,which is neighbor
try not to iterate hash_table to delete elements. Think this way, why we need to iterate ? first may be to find something, second may be to update entry. We can make use of constant search ability of hash_table