Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'You want to go shopping with me, right?';
y_correct = 'yes';
assert(isequal(wiferightagain(x),y_correct))
|
2 | Pass |
ready = 'Will you be ready soon?';
when_she_said = 'In a couple minutes';
when_really = 'An hour if you''re lucky';
y_correct = 'yes';
assert(isequal(wiferightagain(ready,when_she_said,when_really),y_correct))
|
19331 Solvers
Calculate the Levenshtein distance between two strings
456 Solvers
895 Solvers
Compute a dot product of two vectors x and y
750 Solvers
Getting the indices from a matrice
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!