Add descriptions to each exercise

This commit is contained in:
2023-12-11 15:37:55 +00:00
parent 17f44d6fec
commit 7c95a358ad
13 changed files with 44 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-- The hamming distance is the number of positions in which two
-- strings differ, and is used to measure how similar strings are.
-- Implement the hamming_distance() function below to calculate this;
-- you may assume that the strings are of equal length.
--
-- Solution --------------------------------------------------------------------
function hamming_distance(str1, str2)
-- Your implementation here