• 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
codenew101 Avatar
Name:Unknown
Clan:Unknown
Member Since:Jul 2021
Last Seen:Feb 2022
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    Quick Start Guide: Golang for Beginners
    Ever asked yourself, "What's the point of learning Go?" Here's a guide to explain it all.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (4)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • rajansahu713
      • commented on "Extract the domain name from a URL" kata
      • 4 years ago

      some url do not have "https, http and www" they just have domain name like google.com

    • Custom User Avatar
      • codenew101
      • commented on "Extract the domain name from a URL" kata
      • 4 years ago

      Ic thanks

    • Custom User Avatar
      • natan
      • commented on "Extract the domain name from a URL" kata
      • 4 years ago

      It says what you returned and what you should have returned.

    • Custom User Avatar
      • codenew101
      • commented on "Extract the domain name from a URL" kata
      • 4 years ago

      I'm not sure if this is a mistake or we should have a function predict the output. I have 8 x '' empty urls which have random generated test assertions like below :
      '' should equal 'lz1azqi6wztabr3e'
      '' should equal 'rayl80wqeq5'
      '' should equal 's5amw9ozevzcmrcuoys2vo'
      '' should equal 'z0bnifstlw2afsius1ywnt166roh'
      '' should equal 'nfdxo5rb1jt1mmx8ncs0pn2w7lgxa'
      '' should equal 'kaoszjrgt9b5173ijk'
      '' should equal 'uxot2egwyxk7p'
      Can this be clarified if the test assertions are incorrect ? Thank you.

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...