• Custom User Avatar

    Thanks, I had no clue of some differences between TypeScript and javaScript

  • Custom User Avatar

    in TypeScript you must declare your class properties before you can assign to them

  • Custom User Avatar

    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?

  • Custom User Avatar

    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.

  • Custom User Avatar

    I'll mark this as resolved.

  • Custom User Avatar

    @longeill's answer should help. I'll mark this as resolved.

  • Custom User Avatar

    Thanks! There are always 6 tests among the full tests that fail for this code.

  • Custom User Avatar

    Approved the Python fork. Thanks. I think that resolves this issue, at least that code seems to fail even after 10 retries.

  • Custom User Avatar

    My F# experience is very limited, but if I have time in the next couple of days, I'll take a look.

  • Custom User Avatar

    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!

  • Custom User Avatar

    I don't know if you do F#, but check the issue below if you do.

  • Custom User Avatar

    I'll add tests.

  • Custom User Avatar

    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

  • Custom User Avatar

    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.

  • Custom User Avatar

    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...