• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
ahmed0saber Avatar
Name:Ahmed Saber
Clan:Unknown
Member Since:May 2021
Last Seen:Oct 2024
Profiles:
Following:0
Followers:3
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (23)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ahmed0saber
    • commented on "Optimizing Performance with Debounce Technique" kata
    • 17 months ago

    Do you have any benchmark about your claims?

    I'm the only one doing this solution in the whole platform! Are you kidding me?

    https://www.codewars.com/kata/reviews/5220c5750b1ba099360003e2/groups/6592621718069100013f0ac7

    And it's so far from this one, you have mentioned:

    https://www.codewars.com/kata/reviews/5220c5750b1ba099360003e2/groups/55213b8f48b3baa1b90009ff

    This solution, there is only one who has the same solution as me, he solved it before me as his last visit is at 2023, but that doesn't mean I have copied it from him!

    https://www.codewars.com/kata/reviews/52b7ed099cdc285c300001d0/groups/64ee72de3078400001e80bd4

    These 2 solutions are the only valid solution for each problem:

    https://www.codewars.com/kata/reviews/59b82d99aee0c7744000004a/groups/59b82d9aaee0c7744000004c

    https://www.codewars.com/kata/reviews/591e83ce66ef3bd8d300085f/groups/5bbd416016a8f134a20004ca

    So all users must do them in the same way to pass, because if it isn't in the only same way, it's not correct!

    Don't expect any another reply from me, I'm currently out of this platform, as you are doing your best to spoil the community here..

  • Custom User Avatar
    • ahmed0saber
    • commented on "Optimizing Performance with Debounce Technique" kata
    • 17 months ago

    Can you suggest how to prevent users from using require?

  • Custom User Avatar
    • ahmed0saber
    • commented on "Optimizing Performance with Debounce Technique" kata
    • 17 months ago
    • The debounce function is designed to enhance performance by controlling the frequency of function executions

    The above sentence is 100% correct, preventing the function from excution if nobody has called it for a specified amount of time, can affect the frequency of function executions!

    And yes, I always use ChatGPT to validate my solutions, rephrase kata description, and suggest edge cases for testing, is there any problem with that?

  • Custom User Avatar
    • Voile
    • commented on "Optimizing Performance with Debounce Technique" kata
    • 17 months ago

    Also, you cheated on several blue katas you completed by copying existing solutions:

    • https://www.codewars.com/kata/reviews/591e83ce66ef3bd8d300085f/groups/5bbd416016a8f134a20004ca
    • https://www.codewars.com/kata/reviews/59b82d99aee0c7744000004a/groups/59b82d9aaee0c7744000004c
    • https://www.codewars.com/kata/reviews/52b7ed099cdc285c300001d0/groups/64ee72de3078400001e80bd4

    The rest has no direct duplicates, but I wouldn't surprised if you used ChatGPT to "rewrite" the top existing solution (read: most copied solution), like how https://www.codewars.com/kata/reviews/5220c5750b1ba099360003e2/groups/6592621718069100013f0ac7 resembles https://www.codewars.com/kata/reviews/5220c5750b1ba099360003e2/groups/55213b8f48b3baa1b90009ff.

  • Custom User Avatar
    • Voile
    • created an issue for "Optimizing Performance with Debounce Technique" kata
    • 17 months ago

    Is this kata written by ChatGPT? There are a lot of misinformation in the kata, the description is weirdly nonsensical, and the terminologies are obviously used incorrectly. For instance:

    The debounce function is designed to enhance performance by controlling the frequency of function executions

    What this describes is throttling, not dedounce. Debounce doesn't control the frequency of function calls; it makes a function only execute its body if nobody has called it for a specified amount of time.
    (See also: https://stackoverflow.com/a/35290646)

    The tests never test this crucial mechanic. In fact it doesn't even test if a debounced function can be called more than once, so it's just a fancier version of setTimeout.


    Ensures that the original function's arguments and context (this value) are preserved and passed correctly when it is executed.

    This didn't specify which argument set should be used when the wrapped function is called multiple times. The expected value is the one from the latest call.

    this preservation is not tested.

  • Custom User Avatar
    • Blind4Basics
    • created an issue for "Optimizing Performance with Debounce Technique" kata
    • 17 months ago

    oops ;)

    Cheers

  • Custom User Avatar
    • dfhwze
    • resolved an issue on "Handle Errors while Finding Product By Id" kata
    • 17 months ago

    kata was retired

  • Custom User Avatar
    • dfhwze
    • created an issue for "Handle Errors while Finding Product By Id" kata
    • 17 months ago

    I'm afraid a kata about simple list filtering has already been done too many times. This makes this kata a duplicate of existing kata's.

  • Custom User Avatar
    • ahmed0saber
    • resolved an issue on "Leaderboard Sorted Insertion" kata
    • 17 months ago

    Do you have some time to read the problem description?

    You may use either linear search or binary search.

  • Custom User Avatar
    • Voile
    • created an issue for "Leaderboard Sorted Insertion" kata
    • 17 months ago

    The performance check is useless, a linear search can pass the tests just as fine.

  • Custom User Avatar
    • ahmed0saber
    • resolved an issue on "Leaderboard Sorted Insertion" kata
    • 17 months ago

    I think everything is okay now after adding the last test cases, and modifing the existing ones, besides modifing the task description and solution.

  • Custom User Avatar
    • ahmed0saber
    • resolved a suggestion on "Leaderboard Sorted Insertion" kata
    • 17 months ago

    Now, I'm testing the mutation of the original array, thanks for the valuable advice.

  • Custom User Avatar
    • ahmed0saber
    • resolved an issue on "Leaderboard Sorted Insertion" kata
    • 17 months ago

    I have added more test cases, added random testing, and modified large leaderboard test.

    Feel free to inform me if there is something wrong.

  • Custom User Avatar
    • ahmed0saber
    • commented on "Leaderboard Sorted Insertion" kata
    • 17 months ago

    I can add random testing, but what about Insufficient fixed edge case tests.? do you have any different case that needs to be tested?

    Also can you explain what do you mean by Large test is vulnerable to input modification.?

  • Custom User Avatar
    • ahmed0saber
    • commented on "Leaderboard Sorted Insertion" kata
    • 17 months ago

    But I haven't specified to mutate or not, everyone can go for the suitable solution he needs, sometimes mutation is better than returning a new value, because it can keep the number of variables low, and also the memory usage, am I wrong?

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...