Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
yeah.. abc123 has each character - a,b,c,1,2,3 only once.
aabb has each letter twice - a:2 , b:2.
So, each character has to be in multiples of same numbers
The testcase seems incorrect. This statement is correct. But when I found the actual solution then I got to know that there is no issue in test case.
This comment is hidden because it contains spoiler information about the solution
You can't change the order of the numbers. Your code is incorrect.
vikaskaushik3: What's correct?
public class ExpressionsMatter {
@Test
public void checkSmallValues() {
assertEquals(5, Kata.expressionsMatter(1, 3, 1));
}
correct. same in my case.