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.
I am not sure what kind of "memory handling" or "memory optimization" you need to do, because it is definitely not the intention here. I checked a bunch of C# solutions, including mine old solution, and out of 10 solutions tested by me, all of them run in 3-3.5 seconds.
We can use this as a starting point to make some conclusions :)
C# 12
I don't know if I'm doing something very wierdly but the original test passes brilliantly but when trying to "attempt" it times out.
Is the point of this to do memory handling or to make an interpreter? Because as it stands I've had to spend more time on learning memory optimization :/
Unsure whether this is a CodeWars limitation and this Kata is simply too complex for CodeWars or if I'm just really dumb T_T
That is beyond confusing... I'm sure this solution is good, clever and all that but it takes serious dedication to understand what's going on whatwith all the single-letter variable names and a variable "sorted" that's supposedly... not sorted?..
It looks clean at first glance but the more I look the more i see inconsictencies:
I mostly like this, only thing i feel is off is PageItemCount() as it's susceptible to becoming a trainwreck and is kinda hard to read. Other than that I like this.
ngl this is the most readable and clean version in my opinion. My only issue with it is that at a glance it looks like you're reversing a string and then making it inot an array just so you can make it into a different string. It feel like an extra step but is it cus string(the type) is immutable?