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.
Your code will check whether the last triplets in
num1
exist innum2
, not all the triplets innum1
. A slight modification in code blocks should fix it.Only triples on num1 and doubles on num2 of the same number. If that's not what you were asking, rephrase the question.
May it be double of triples in num 1?