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.
here the complexity is K*N(K-size signature,N-size result)
you can replace it with something like K+N
here the complexity is K*N(K-size signature,N-size result)
you can replace it with something like K+N
( std::count (seq.begin(), seq.end(), elem) > 0? true: false) can change std::count (seq.begin(), seq.end(), elem) because 0=false any nonzero number =true
I think if we give a negative number in function in the result program call unlimited recursion.
thanks
why vector vectors and pair?
it is logical either everywhere a pair or everywhere vectors.
hardcore