• Custom User Avatar

    ok i have changed it again hopefully its a bit clearer this time

  • Custom User Avatar

    "The unique position is the position of every different word in the sentence, which excludes repeated words"

    i was going to add this, do you reckon that's a good explanation? give suggestions if you have a better idea

    i want to keep it short and concise whilst not being too complex to understand

  • Custom User Avatar

    Ah ye, this kata was updated by someone else
    ill fix it when im home i promise

  • Custom User Avatar

    thank you

  • Custom User Avatar

    either you said the same thing as the wording
    or
    i have no clue what you just said

    please simplify what you just said, i cant comprehend it :(

  • Custom User Avatar

    i changed it to be less value. is this better

    "Your task is to make a program which takes in a sentence and returns a string which shows the position
    of each word in the sentence. If a word appears more than once in the sentence, your string should
    return the position of the first occurrence of the word. Capitalisation of words should be accounted for:
    'BEE' should be considered the same as 'bee'. The sentences include no punctuation."

  • Custom User Avatar

    i changed it to be less vague

    "Your task is to make a program which takes in a sentence and returns a string which shows the position
    of each word in the sentence. If a word appears more than once in the sentence, your string should
    return the position of the first occurrence of the word. Capitalisation of words should be accounted for:
    'BEE' should be considered the same as 'bee'. The sentences include no punctuation."

  • Custom User Avatar

    Yeah I'm happy just can't figure how to accept your translation on mobile

  • Custom User Avatar

    Is there anyway to let you add this? Im computerless atm

  • Custom User Avatar

    An o1 solution takes the same amount of time?
    My solution is like that though :/

    EDIT: it's alright, I was a bit dumb

  • Custom User Avatar

    O(1) solution?

  • Custom User Avatar

    I got an algorithm that works for all static test cases, but doesn't beat one test case. Should I just start over?

  • Custom User Avatar

    0 should not be counted as puncuation and should be counted as any other word

  • Custom User Avatar

    Nevermind, I figured out my problem. I shouldn't be using itertools

  • Custom User Avatar

    Is it under maintenance now?

  • Loading more items...