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.
Planning to release this kata for Python?
This comment is hidden because it contains spoiler information about the solution
how to get this result:
?
probability to get only one red murble from urn2 is: 2/3 * 1/2 + 1/3 * 2/2 = 2/3.
thus, probability that there will be exactly 2 red murbles in urn3 is: 1 * 2/3 = 2/3.
probability to get two red murbles from urn2 is: 2/3 * 1/2 = 1/3.
thus, probability that there will be exactly 3 red murbles in urn3 is: 1 * 1/3 = 1/3.
we don't consider 0, 1 or 4 red murbles in urn3, because it is impossible and probabilities for these options are 0;
if there are 2 red murbles in urn3 then answer is 1/5.
if there are 3 red murbles in urn3 then answer is 1/2.
then multiplying probabilities we must get result:
2/3 * 1/5 + 1/3 * 1/2 = 3/10 (not 5/16). what is wrong with that logic?
Interesting kata, but please add some tables'explanation and change their name. For example translations --> language_available.
In addition, explain the condition, for not_trained, not_ocmpleted etc. better.
For example, the Charlie case with C is not very understandable.
Quick question:
Is there a number on the max number of colors used? If yes, it might be worth to mention it in description.
Or is the kata accepting the following solutions for
n=6, k=6
?[1, 2, 3, 1, 2, 3]
[1, 2, 1, 2, 1, 2]
Also do you plan to port this kata in Python?
Are
p
andq
similar to each other?I thought by similar you mean that
p
only looks for otherp
andq
only looks for otherq
what is the initial size? 1:sqrt(2)??
with that size I always get golden ratio nums.
There are quite a few kata's about Sudoku on Codewars. All of them either involve verifiying correctness or solving a puzzle. With this kata I want to introduce specific solver strategies to make progress in a puzzle. Would it be interesting to make a series about specific solver strategies? This kata is aimed at beginners. I could add kata's for other strategies that target Medium, Hard and Expert. Any opinions?
It is never explicitly stated that the pair of numbers for the wall are the distance to the north and south walls respectively. And without the ascii illustrations, it's not even explained that the walls are all equally sized segments of the north and south walls. For a moment when starting to read it, I thought perhaps the room was an irregular polygon with a certain number of walls all closing in towards the centerpoint. You should make clear that you are describing a room with flat, unmoving east and west walls, and walls closing in at possibly different jagged distances, from the north and south. And none of the examples in the description describe a situation with unequal north and south walls at a given x coordinate, so without any other demonstration, it's entirely left to the reader to assume that the numbers in the pair represent north and south distances.
Hi,
It should be made clear in the description that any clear path will work (in the task/output section)
the very first sentence of the description is at least "misleading":
=>
return the rotations needed
instead ?cheers
[[0, 1, 0, 1], [1, 0, 1, 2], [0]]
how is answer to this queue 7? can someone explain in simple steps
I don't understand the logic for the types of bridges. According to your reasonning below, if K has a width of 3, B should have a width of 2 and P a width of 1. That, or K should have a width of 2 only
Question is:
=> ?
This does not generalize to 3 way tie or above. Did you mean H2H score?
What was the generalized operator that was hinted at in the description?
I solved the kata without knowing what it was and I still do not know.
Loading more items...