• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Unknown
Member Since:Oct 2017
Last Seen:Nov 2018
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (23)
  • Replies
  • Authored
  • Needs Resolution
    • MikhailWin
    • commented on "Detect Pangram" javascript solution

    Unconventional approach. Cool

    • alsoknownasdrew
    • commented on "Detect Pangram" javascript solution

    Nice one!

    • Krakonosh
    • commented on "Detect Pangram" javascript solution

    I tried to create a regex to match a letter only once and even though I knew I had to use a negative lookahead, I couldn't come up with it. Here it is, amazing regex!

    • gsvidal
    • commented on "Detect Pangram" javascript solution

    Thanks Ambrelium, finally understood.

    • caketi
    • commented on "Detect Pangram" javascript solution

    nice explaination

    • a-m-dev
    • commented on "Detect Pangram" javascript solution

    i made this with out regex, hahahah !!!! with O(n) loop

    • Ambrelium
    • commented on "Detect Pangram" javascript solution

    string.match() will return null if there's no match, and null has no property named 'length". So by doing || [], you ensure that length will work

    • mzouari
    • commented on "Detect Pangram" javascript solution

    Interesting RegExp !!!

    • TacoHorse
    • commented on "Detect Pangram" javascript solution

    This should be the top solution its more effecient. Really long repetitive strings would bog the top one down.

    • LexieAlreadyTaken
    • commented on "Detect Pangram" javascript solution

    I wonder how the length of an empty array could be 26?
    Like, why not return (string.match(/([a-z])(?!.*\1)/ig)).length === 26;?
    //And why doesn't the editor consider my RegExp to end...?
    (I'm not very good at RegExp's, forgive me)

    • glynester
    • commented on "Reversed Message" kata

    JS
    I pass all the intitial tests.
    I've filtered out 'words' with spaces but I only pass about 2/3's (on average) of the main tests.
    I've looked at a couple of the failed tests and if there are any differences between my result and the provided solution, they are not visible to the naked eye - so invisible characters perhaps...
    Anyone have any clues?

    • BAov
    • commented on "Reversed Message" kata

    Hi, I split the string into an array using space as a separator. Then I used the filter() method to get rid of all the empty strings in my array. I carried out all the other operations with the array returned by filter() method. I can't disclose my code here because it will be a spoiler

    • EmilyScripts
    • commented on "Reversed Message" kata

    Thank you, I have been trying to sort this but couldn't get it to work correctly

    • aweleshetu
    • resolved an issue on "Reversed Message" kata

    resolved

    • aweleshetu
    • resolved an issue on "Reversed Message" kata

    resolved

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm