• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Log In
  • Sign Up
thquinn Avatar
Name:Tom Quinn
Clan:Unknown
Member Since:Sep 2018
Last Seen:Jul 2021
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (60)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Blind4Basics
    • resolved a suggestion on "Fluid Volume of a Heightmap" kata

    .

  • Custom User Avatar
    • atirage
    • commented on "Fluid Volume of a Heightmap" kata

    That was my expectation also.

    Is there a way to paste screenshots here? I have one with the output of the test suite.

  • Custom User Avatar
    • Blind4Basics
    • commented on "Fluid Volume of a Heightmap" kata

    Hi,

    This map is expecting 0, not 1. You must have lookeed at the wrong input/output

  • Custom User Avatar
    • atirage
    • created a question for "Fluid Volume of a Heightmap" kata

    Could someone please explain why is the correct volume 1 in the below test (I got it as one of the random tests, Python translation):

    14, 0, 0, 12, 12

    -5, 14, 10, 9, 9

    -5, 2, 7, 7, 14

    1, 5, 11, 13, 10

    9, 0, 1, 1, 7

    Thanks in advance!

  • Custom User Avatar
    • awesomead
    • resolved a suggestion on "Fluid Volume of a Heightmap" kata

    This is an issue very specific to your personal approach (see your comment below), not a general issue. You just need to rethink how you tackle the problem. Hint: The number of depth levels should be irrelevant.

  • Default User Avatar
    • ansis m
    • created a suggestion for "Fluid Volume of a Heightmap" kata

    I think it would be nice to add to description that big maps have hundreds of different height values. It would prevent warriors from going the wrong path.

  • Default User Avatar
    • ansis m
    • commented on "Fluid Volume of a Heightmap" kata

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • ejini战神
    • commented on "Fluid Volume of a Heightmap" kata

    Finally, B4B making a translation after centuries XD

  • Custom User Avatar
    • Blind4Basics
    • created a suggestion for "Fluid Volume of a Heightmap" kata

    JS translation

    cheers

  • Custom User Avatar
    • awesomead
    • resolved a suggestion on "Fluid Volume of a Heightmap" kata

    Replied with a new fork fixing the issue. Thanks!

  • Custom User Avatar
    • janquo
    • commented on "Fluid Volume of a Heightmap" kata

    I found one problem, commented in your translation discussion section!

  • Custom User Avatar
    • awesomead
    • created a suggestion for "Fluid Volume of a Heightmap" kata

    Hello there!

    Rust translation ready for review!
    (It's pretty much a 1:1 copy of the Python test suite)

  • Custom User Avatar
    • Cogno-Marco
    • created an issue for "Cody Block's Pro Skater" kata

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar
    • wery154
    • commented on "Cody Block's Pro Skater" kata

    Okay this one was properly difficult and fun, kudos! I've got a half working solution, but I'll leave it for now, to return later when I've sharpened my tools and brain...

  • Custom User Avatar
    • awesomead
    • commented on "Fluid Volume of a Heightmap" kata

    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 height 0 surrounded on all sides by columns of height 6; 6-0 = 6 -> 4*6
    4*8: Ther eare 4 columns of height 0 surrounded on all sides by columns of height 8; 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?

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    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.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection