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.
It's not best practice. but people don't know better and vote anyway.
this would be mutation of inputs:
this one: https://www.codewars.com/kata/56efc695740d30f963000557
this kata seems to be a repeat of another kata i just did hmm..
"" - True
"[(])" - False, not completed []
Thanks for the feedback, my first attempt at creating a Kata. I'll allow my friends to try out the Kata before unpublishing it soon :>
This kata is wrong in so many ways:
I suggest unpublishing it before it gets retired.
Regards,
suic
I am confused as well at first.
Assuming you already know the instruction for i,d,s now let's proceed to the returning of the result.
There is no fix array length for result because array index is incrementing every 'o' So for instance:
string input = "iioio"
int result[] = {2, 3};
string input = "iodoio"
int result[] = {1, 0, 1};
I hope you understand bro!
what is the suggested time complexity on this kata?
Is there a way to improve the time complexity on this? If I am not mistaken, the time complexity on this is BigO(n).
Thank you.This was helpful!
What this does it
For those who are wondering!
BigO(n^2)
Nested for loops
Quite messy code, I will refactor it later!
Don't really understand the results of this kata... can someone explain it to me pleasE?
This comment is hidden because it contains spoiler information about the solution
Loading more items...