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.
Thanks, I had no clue of some differences between TypeScript and javaScript
in TypeScript you must declare your class properties before you can assign to them
error TS2339: Property 'itemsPerPage' does not exist on type 'PaginationHelper'.
constructor(collection, itemsPerPage){
this.itemsPerPage = itemsPerPage
}
isn't it how we declare variable and assign it to the constructor parameter?
using vscode all codes are working just fine. but here I'm stuck with this code.
anybody with a brilliant idea?
Fantastic work!, Mine has almost the same procedures as yours, but too manuel.
I knew I needed recursion; I wasn't able to transform my function into a recursive one.
So, thank you.
I'll mark this as resolved.
@longeill's answer should help. I'll mark this as resolved.
Thanks! There are always 6 tests among the full tests that fail for this code.
Approved the Python fork. Thanks. I think that resolves this issue, at least that code seems to fail even after 10 retries.
My F# experience is very limited, but if I have time in the next couple of days, I'll take a look.
I added Python tests for all 286 combinations of counts of n,s,e,w. This should invalidate most broken solutions, for example the one above.
Please have a look and approve the translation. Thanks!
I don't know if you do F#, but check the issue below if you do.
I'll add tests.
If you have difficulties on understanding the kata, this means you need to learn algorithm first.
I decided to go back and deepily learn algorithm. I haven't finish the lesson yet but as I go on, I begin to see the kata(s) that seemed ambiguous to me from different algorithm approaches that I'm learning now.
Each kata or problem as its relevant algorithm to solve it.
here is the link that may help you learn algorithm https://www.youtube.com/watch?v=8hly31xKli0
Hello guys, to whom may have encoutered the execution time error. (Your codes take too much time to execute even though you solved the problem)
This made me come to realize that this platform codewars isn't about statistics or proving how master you are in coding. it's about learning and improving your programming skill.
Therefore, It all comes down to "algorithm", the first 15 minute of this video https://www.youtube.com/watch?v=8hly31xKli0 will blow your mind.
Hello guys, to whom may have encoutered the execution time error. (Your codes take too much time to execute even though you solved the problem)
This made me come to realize that this platform codewars isn't about statistics or proving how master you are in coding. it's about learning and improving your programming skill.
Therefore, It all comes down to "algorithm", the first 15 minute of this video https://www.youtube.com/watch?v=8hly31xKli0 will blow your mind.
Loading more items...