I'm a beginner, so perhaps I have no idea what I`m talking about, but this seems like it'd be hard for someone else to read, understand and/or alter 🤔
I'm not convinced that this problem deserves an array and an additional function, looks trendy for sure but not allocating that much memory could be more reasonable.
I think that's only a concern if you are writing code for a real-time application and are at the same time very resource-restrained. Otherwise, this shouldn't matter when running code on modern computers.
This comment is hidden because it contains spoiler information about the solution
Awesome!
Nice
good job!
I'm a beginner, so perhaps I have no idea what I`m talking about, but this seems like it'd be hard for someone else to read, understand and/or alter 🤔
smart move
It's absolutelly genious i think, but if you end the sentence with space it returns 0.
Greate!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm not convinced that this problem deserves an array and an additional function, looks trendy for sure but not allocating that much memory could be more reasonable.
I think that's only a concern if you are writing code for a real-time application and are at the same time very resource-restrained. Otherwise, this shouldn't matter when running code on modern computers.
Oh, shit. I'm a primat.
Why do you consider thi not efficent. I am a beginner and trying to understand other peoples code.
Well... I feel like a pleb.
Loading more items...