Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
ok i have changed it again hopefully its a bit clearer this time
"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
Ah ye, this kata was updated by someone else
ill fix it when im home i promise
thank you
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 :(
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."
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."
Yeah I'm happy just can't figure how to accept your translation on mobile
Is there anyway to let you add this? Im computerless atm
An o1 solution takes the same amount of time?
My solution is like that though :/
EDIT: it's alright, I was a bit dumb
O(1) solution?
I got an algorithm that works for all static test cases, but doesn't beat one test case. Should I just start over?
0 should not be counted as puncuation and should be counted as any other word
Nevermind, I figured out my problem. I shouldn't be using itertools
Is it under maintenance now?
Loading more items...