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.
I really appreciate your explanation, this was the most difficult part of this kata, thanks!
ffs, thank you for that! instructions needs to be reworked!
Thank you so much for your explanation. I was doing Total Set instead of comparison and getting errors.
Thank you very much. It was very useful!
thanx for explaining. This kata description is some sort of kata itself
It's a height map. Think of the numbers as heights of square columns stacked next to each other. Water spreads across equally high columns and trickles down into onto lower columns.
Water flows in cardinal directions only, not diagonally. Hence the bottom right corner is not a leak.
6*4
: There are 4 colums of height0
surrounded on all sides by columns of height6
;6-0 = 6 -> 4*6
4*8
: Ther eare 4 columns of height0
surrounded on all sides by columns of height8
;8-0 = 8 -> 4*8
.You can think of it like this: if it rained evenly all over the heightmap, where would water fill and stay?