Closed curiouskiwi closed 3 years ago
Added a case where words of different lengths have a tie score (drawing == illustration). Added a case where words of the same length had a winner. (pig > dog). (all other cases could be passed simply by comparing strlen)
drawing == illustration
pig > dog
Added a case where words of different lengths have a tie score (
drawing == illustration
). Added a case where words of the same length had a winner. (pig > dog
). (all other cases could be passed simply by comparing strlen)