• 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
  • 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
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Timewarper Avatar
Name:Timewarper
Clan:Unknown
Member Since:Sep 2021
Last Seen:Oct 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (56)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • KayleighWasTaken
    • created a suggestion for "The Pyramid of Cubes" kata
    • 10 months ago

    Scala translation

  • Custom User Avatar
    • rickansen
    • commented on "The Pyramid of Cubes" kata
    • 3 years ago

    Solved then failed coz I answered in JS lol

  • Custom User Avatar
    • Guaz
    • commented on "The Pyramid of Cubes" kata
    • 3 years ago

    https://imgur.com/1BskAXk

    Image you can use.

  • Custom User Avatar
    • akar-0
    • resolved an issue on "The Pyramid of Cubes" kata
    • 3 years ago

    Not an issue. A pyramid is not a triangle.

  • Custom User Avatar
    • Chrono79
    • commented on "The Pyramid of Cubes" kata
    • 3 years ago

    tetrahedron: triangle-based pyramid (it's already in the description)

    The schematic below shows a cross-section of each layer of the pyramid, top down:

    Which obviously suggest 3 elements should return 2

    No

  • Custom User Avatar
    • Guaz
    • created an issue for "The Pyramid of Cubes" kata
    • 3 years ago

    Tests are invalid, generally I guess math solution is poorly implemented or description is lacking.

    Example from description:
    Layer 1 = X ;
    Layer 2 = X | XX ;
    Layer 3 = X | XX | XXX ;

    Which obviously suggest 3 elements should return 2 - even example says that, but test is hardcoded for 3 elements there is just 1 completed layer, same story goes for 10 elements and 3 layers instead of 4.

    EDIT: Okay, solved, but in my opinion, description just lacking in terms of visualizing 3d shape of tetrahedron, otherwise it's faulty/true example, depends how someone would read that, not anyone have to be native english and know what tetrahedron is, I believe that's the reason why visual example should be showed correctly.

    EDIT2: Please give me 30 minutes I'll draw you 3d shape myself, and paste link in comment.

  • Custom User Avatar
    • akar-0
    • resolved a suggestion on "The Pyramid of Cubes" kata
    • 3 years ago

    Thanks :)

  • Custom User Avatar
    • akar-0
    • created a suggestion for "The Pyramid of Cubes" kata
    • 3 years ago
    • Go translation
    • Rust translation
  • Custom User Avatar
    • akar-0
    • resolved a suggestion on "The Pyramid of Cubes" kata
    • 3 years ago

    .

  • Custom User Avatar
    • akar-0
    • created a suggestion for "The Pyramid of Cubes" kata
    • 3 years ago

    COBOL translation.

  • Custom User Avatar
    • Wei-Ting Yang
    • resolved a suggestion on "The Pyramid of Cubes" kata
    • 4 years ago

    .

  • Custom User Avatar
    • Wei-Ting Yang
    • created a suggestion for "The Pyramid of Cubes" kata
    • 4 years ago

    A small suggestion: The phrase "cross-section" can be highlighted in the description.

  • Custom User Avatar
    • Timewarper
    • commented on "The Pyramid of Cubes" kata
    • 4 years ago

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

  • Custom User Avatar
    • MobulaKuhlii
    • commented on "The Pyramid of Cubes" kata
    • 4 years ago

    I'm sure it's a duplicate, but I can't remember the title of the other kata, I think it was one of myjinxin's.

  • Custom User Avatar
    • opitt-KS
    • commented on "The Pyramid of Cubes" kata
    • 4 years ago

    The first layer has 1 cubes.
    The second layer has 3 cubes.
    Total needed for 2 layers: 4 cubes

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...