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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
"If there are two or more oldest age, then return both of them in array format."
From my POV if we are in the children classroom ans I am 30 years old and you are the same age as me, we are the two oldest here. (except the teacher :P)
Please correct me if I am wrong somehow. Thanks.
nicely done :)
How do you know that at second last index there will be the second largest number?? For all we know there could be a duplicate of largest number....?
really warrior-coder )))
Yes
This code contain memory leak. Function strdup alloc memory.
Genious!