add cog in dict in wordLadder.cpp documentation

This commit is contained in:
Vishal Singh 2020-06-15 00:58:37 +05:30 committed by Hao Chen
parent 109768f3d5
commit 0042d3410b

View File

@ -43,7 +43,7 @@
//
// start = "hit"
// end = "cog"
// dict = ["hot","dot","dog","lot","log","dit","hig", "dig"]
// dict = ["hot","dot","dog","lot","log","dit","hig", "dig", "cog"]
//
// +-----+
// +-------------+ hit +--------------+