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
Great Work
Sir, in your Kata, The "ORDER BY Species" statement check is sensitive to the indentation and thus throws error unless written in the same way. Please correct that and you'll have a great Kata.
Yes, it worked, thanks a lot for being responsive to my issue. Great work
The thing is all other solutions used a different approach which had a higher time complexity but lower space complexity.
Sir, my solution fails because '—'(em dash) not '-'(hyphen) appears in the input and causes segmentation error as it is some higher level UTF character than C's char, please look into this as this is a trivial problem to correct.
This may also be the reason because of which so low submissions in C are present.
Yes sir for C, and if you say that a lot of people have passed the C kata, I will try and look back at my solution more closely. But the main problem I was facing was the expected output containing numbers that weren't part of the list. Thanks a lot for looking into my issue.
Input: 3 16 9 38 95 1131268 49455 347464 584576831 1324743690 304105689
Expected: 3 16 9 38 95 1131268 49455 347464 59544965313 496636983114762 85246814996697
My Output: 3 16 9 38 95 1131268 49455 347464 304105689 1324743690 584576831
Also if I am pasting this same input and testing the output in sample tests, my solution works.
Expected output contains numbers that aren't part of the list and also in some runs negative numbers are inputted.
This comment is hidden because it contains spoiler information about the solution