• 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
uniapi Avatar
Name:Ali Muhammed
Clan:Codewars
Member Since:Jun 2018
Last Seen:May 2025
Profiles:
Following:359
Followers:376
Allies:340
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (814)
  • Needs Resolution
  • Custom User Avatar
    • uniapi
    • created a suggestion for "Basic Encryption" kata
    • 21 days ago

    RISC-V Translation

  • Custom User Avatar
    • uniapi
    • commented on "What is between?" nasm solution
    • 21 days ago

    How do you do?
    It is a dynamic way to check if AVX512 or AVX2 is present and then choose the fastest available implementation))

  • Custom User Avatar
    • uniapi
    • commented on ""Positions Average" C Translation"
    • 3 months ago

    Adopted

    Though it's very strange for me that it had char * instead of const char *.
    Interesting that this translation is already seven years old.

  • Custom User Avatar
    • uniapi
    • commented on "Rot13" c solution
    • 3 months ago

    this may not work for ANSI C expect declaring in the beginning of a block

  • Custom User Avatar
    • uniapi
    • created a suggestion for "Construct a bit vector set" kata
    • 4 months ago

    RISC-V Translation

  • Custom User Avatar
    • uniapi
    • commented on ""Sum of Minimums!" C Translation"
    • 5 months ago

    Updated to const int * const *nums

    But it seems you meant that the user could change the order of raws!

    This declaration just carries informative character because nothing prevents the user to apply casting and forge the matrix.
    This type for matrix is used to adapt to the kata task and probably is not the best type.
    As under the hood all the declared matrices are just consecutives of one array.
    Otherwise, would prefer const int nums[], size_t m, size_t k and use nums[i*k+j] or something simillar...

  • Custom User Avatar
    • uniapi
    • commented on ""Sum Strings as Numbers" C Translation"
    • 5 months ago

    و الله do not rember the reason for malloc.h as it was six years ago...

    And there is no blind following...
    As it seems reasonable to add empty strings (at least for one argument) because it is a 4kyu kata!

    But anyway i do think there should be a consensus on throwing away empty strings in all languages or editing the description to include them (not just my or your opinion)!

  • Custom User Avatar
    • uniapi
    • resolved an issue on "Sum Strings as Numbers" kata
    • 5 months ago

    Also in C++, Python and original JS (probably some others)

    So we have to two options here:

    1. update all translations to through away empty strings
    2. edit the description to include a case with empty stings

    And because this kata is 4kyu, then the second solution seems more reasonable!

  • Custom User Avatar
    • uniapi
    • commented on ""Sum Strings as Numbers" C Translation"
    • 5 months ago

    Definitely, there was some reason for including malloc.h instead of stdlib.h
    and probably you should have to wait for another six years before noting that...

    Despite the reason Updated to include stdlib.h instead of malloc.h

    Added the case with empty string to Sample Test to inform users that there can be such cases to be compliant with the original version!

    Edit: though may be i should not do it because another languages do not inform of such cases!
    So i will remove it from Sample Test

  • Custom User Avatar
    • uniapi
    • created a suggestion for "Find the missing term in an Arithmetic Progression" kata
    • 8 months ago

    RISC-V Translation

  • Custom User Avatar
    • uniapi
    • resolved an issue on "Find the missing term in an Arithmetic Progression" kata
    • 8 months ago

    The correct issue: does not report actual and expected results in sample tests!

    Resolved

  • Custom User Avatar
    • uniapi
    • created a suggestion for "Basics 08: Find next higher number with same Bits (1's)" kata
    • 8 months ago

    RISC-V Translation

  • Custom User Avatar
    • uniapi
    • commented on "Neutralisation" c solution
    • 9 months ago

    Oh, The ALMighty!
    It ain't THAT fast!

  • Custom User Avatar
    • uniapi
    • created a suggestion for "Return the Missing Element" kata
    • 10 months ago

    RISC-V Translation

  • Custom User Avatar
    • uniapi
    • commented on "Parse nice int from char problem" kata
    • 11 months ago

    Thanks!

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...