• 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
ubaw Avatar
Name:Unknown
Clan:Unknown
Skills:java, javascript, php
Member Since:Feb 2015
Last Seen:Sep 2017
Profiles:
    Following:0
    Followers:7
    Allies:0
    View Profile Badges
    Ad
    Would You Pass the Google SQL Interview? Test Yourself with These 7 Concepts
    Study up for your next SQL interview with these interview questions.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (82)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • kodownik
      • commented on "Next bigger number with the same digits" java solution
      • 5 months ago

      This is very slow for certain values (i. e. 1900000000).

    • Custom User Avatar
      • Chrono79
      • commented on "The highest profit wins!" javascript solution
      • 3 years ago

      Use spoiler flag next time please.

    • Custom User Avatar
      • IlyaHasBeenCreated
      • commented on "The highest profit wins!" javascript solution
      • 3 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • leovolving
      • commented on "Remove anchor from URL" javascript solution
      • 3 years ago

      First argument is the pattern we want to find in the string. The pattern can be a string or Regex. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp

      Second argument is the replacement. It can be a string or a function. If the string is emtpty, we essentially just remove the pattern.
      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace

    • Custom User Avatar
      • cristiane.dsc
      • commented on "Remove anchor from URL" javascript solution
      • 3 years ago

      What does .replace() do?

    • Custom User Avatar
      • HODOR72
      • commented on "Regexp Basics - is it IPv4 address?" javascript solution
      • 3 years ago

      same solution)

    • Custom User Avatar
      • martynov-94
      • commented on "Regexp Basics - is it IPv4 address?" javascript solution
      • 4 years ago

      It's regular expressions, they are not supposed to be readable. It's a great tool that you shouldn't avoid just because it doesn't look pretty.

    • Custom User Avatar
      • alexsanjoseph
      • commented on "Next bigger number with the same digits" java solution
      • 4 years ago

      Inefficient, but super clever!

    • Custom User Avatar
      • spblewis
      • commented on "Sort - one, three, two" javascript solution
      • 5 years ago

      Good grief. Mine is awfully clumsy by comparison... Very nice.

    • Custom User Avatar
      • streamThread
      • commented on "Reverse or rotate?" java solution
      • 5 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • Cory1802
      • commented on "The highest profit wins!" javascript solution
      • 5 years ago

      This comment is hidden because it contains spoiler information about the solution

    • Custom User Avatar
      • romardesabille
      • commented on "Valid Phone Number" java solution
      • 5 years ago

      I dont understand this solution. Can you explain it to me sir? I would like to learn that

    • Custom User Avatar
      • phildinius
      • commented on "Sort - one, three, two" javascript solution
      • 6 years ago

      I really like this solution. My one thought is if there are potentially a lot of duplicates, would it make sense to check if words[n] exists before setting calling num2word again?

    • Custom User Avatar
      • xehpuk
      • commented on "Where my anagrams at?" javascript solution
      • 7 years ago

      While it's true that this could be approximately twice as fast, the complexity is still the same (constant factors are ignored).

    • Custom User Avatar
      • Deft
      • commented on "Reverse or rotate?" java solution
      • 7 years ago

      yeah, great solution.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...