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.
10 November 2024
170 lines of code. Python. My time is 2142.13ms
This one is not hard, it took me only 8 hours.
15 October 2024
Python. 372 lines. 5561.15 ms. It took me 7 days of work.
21 August 2024
420 lines in Python, Completed in 7424.58ms
The third attempt took me more than a week. Great kata!
If my grandma had wheels, she would've been a bike.
The problem is not redability but it's not escalable if we decide to made a polyhedron of more than 3 different faces; also this could be considered hardcoding, IMHO. But I really don't care as I am the first one on hardcoding "sometimes".
I have understood, thanks.
If Zldm is a liar Vzqe is also a liar, so we have TWO liars, but if Vzqe is a liar - It is ONLY ONE liar.
How could Zldm be the liar ? There are four people. Azqedoigu and Vtviuvsae are next to each other, so they can be at 1-2, 2-3 or 3-4. Vzqe says that there are two people in front of him, it's only possible if he is at 3 and Vtviuvsae-Azqedoigu are at 1-2. This leaves Zldm at 4, so he is not lying.
Python. I have got 800+ 'green tests', performance is enough, but it seems to me that something is wrong...
For instance:
Conversation:
['Azqedoigu:The man in front of me is Vtviuvsae.',
"Zldm:I'm in 4th position.",
'Vtviuvsae:The man behind me is Azqedoigu.',
'Vzqe:There are 2 people in front of me.']
: None should equal 'Vzqe'
As far as I understand this queue looks like: "Vtviuvsae - Azqedoigu - Vzqe - Zldm"
ALL say the TRUTH.
If one of them is exactly a mr.Wrong, why Vzqe is better than Zldm
simple absolute value, multiplication and subtraction are not readable? lolz
Search in the youtube. There are several funny things about this one.
I have thought for hours about this. On several occasions.
Can you give me some hint what trick might be hidden there?
This is not best practice at all, it's not readable what so ever. This should not be done in a professional environment.
Congrats!
7 January 2024 (180 lines)
This kata is great. I have devoted for this challenge about full 20 days.
My time is 10644.66ms. I know that it is too much, but .... so many attempts were done during these days.
what if the contents of the list have many elements? like 10 or 20?
not the best practices.
Loading more items...