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.
why not just
< max_num
?Thanks, everyone. I'll take it down or change and republish. I'm very new to Code Wars/coding in general, and this was my first time trying to come up with my own problem (just because I thought it'd be fun), so I'm glad the problem actually worked, but I'm not at all surprised it's too similar to others that already exist. Thanks for the feedback/linking to the similar problems.
Practically a duplicate of this kata.
There's a kata (by g964 or KenKamau, I think) where you have to return a string with only odd-indexed chars in uppercase, and another string with only even-indexed chars in uppercase.
Yeah, I'm absolutely sure I already did something alternating depending on index of word and index of char in word (one of myjinxin's, I believe, but not sure that's the exact duplicate)
There's "altERnaTIng cAsE <=> ALTerNAtiNG CaSe", but it's not a duplicate.
But I think that casing being a function of an index is also somewhere there.
Sure this is a duplicate... Who knows how to spot the original?
No random tests