Cody

Problem 43318. Compare two strings.

Solution 2567439

Submitted on 16 Jun 2020 by Ramesh Kumar V
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 'When you finish the test, you will be told your approximate English level. You can then search for suitable content on LearnEnglish Teens by level. You can also search for content by topic.'; y='When you finish the test, you will be told your approximate English level. You can then search for suitable content on LearnEnglish Teens by level. You can also search for content by topic.'; y_correct = true; assert(isequal(Comparer(x,y),y_correct))

2   Pass
x = 'When you finish tee test, you will be told your approximate English level. You can then search for suitable content on LearnEnglish Teens by level. You can also search for content by topic.'; y='When you finish the test, you will be told your approximate English level. You can then search for suitable content on LearnEnglish Teens by level. You can also search for content by topic.'; y_correct = false; assert(isequal(Comparer(x,y),y_correct))

3   Pass
x='Hello'; y='Hi'; y_correct = false; assert(isequal(Comparer(x,y),y_correct))

4   Pass
x='Hello'; y='Hello'; y_correct = true; assert(isequal(Comparer(x,y),y_correct))