No Need To Use Loop, Only If can solve it
Re: No Need To Use Loop, Only If can solve it
...
Edited by author 06.12.2014 19:30
Re: No Need To Use Loop, Only If can solve it
I solve without loop but is return WA#4
There is my algorithm :
if in list has 1 , 2 , 3 together always "Yes"
otherwise "No" am I right or any case is there ?
Edited by author 09.08.2017 09:41
Edited by author 09.08.2017 09:42
Re: No Need To Use Loop, Only If can solve it
You can get six combinations with two a's and two b's
You can get six combinations with one a and five b's
Re: No Need To Use Loop, Only If can solve it
Sorry but I don't understand what do you mean !
Give me Test Case #4
Re: No Need To Use Loop, Only If can solve it
0011
0101
0110
1001
1010
1100
That is six
Re: No Need To Use Loop, Only If can solve it
000001
000010
000100
001000
010000
100000
That is also six
Re: No Need To Use Loop, Only If can solve it
012
021
102
120
201
210
And that is six
Re: No Need To Use Loop, Only If can solve it
Answer is No , Correct ?
0011
0101
0110
1001
1010
1100
That is six
Re: No Need To Use Loop, Only If can solve it