• 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
hladkky Avatar
Name:Unknown
Clan:Unknown
Member Since:Jul 2020
Last Seen:Jan 2022
Profiles:
Following:1
Followers:0
Allies:0
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (24)
  • Replies
  • Authored
  • Needs Resolution
  • Default User Avatar
    • tonylicoding
    • commented on "Solving a puzzle by matching four corners" kata

    Glad you enjoyed ;-)

  • Default User Avatar
    • tonylicoding
    • commented on "Solving a puzzle by matching four corners" kata

    Nope, all translations welcome;-)

  • Custom User Avatar
    • hladkky
    • commented on "Solving a puzzle by matching four corners" kata

    Thank you so much for this brainstorming kata. Through pain and suffering finally got it. It was a good experience for me.

  • Custom User Avatar
    • hladkky
    • commented on "Solving a puzzle by matching four corners" kata

    Is it possible to implement this without using a for loop in other for loop.

  • Default User Avatar
    • teoriachaosu
    • commented on "Solving a puzzle by matching four corners" kata

    Thx :)

  • Custom User Avatar
    • G_kuldeep
    • resolved a question on "Solving a puzzle by matching four corners" kata

    no advance topic and (no recursion)

    just understand complete problem and solve it step by step

    just to get you boost

    • find corners
    • sidelines and etc...
  • Default User Avatar
    • teoriachaosu
    • created a question for "Solving a puzzle by matching four corners" kata

    May I ask for some little hint, as a beginner? What advanced topic (data structure or something) do I need to know to complete this?

  • Default User Avatar
    • mamsaz99@gmail.com
    • created a question for "Are they the "same"?" kata

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

  • Default User Avatar
    • tonylicoding
    • resolved a question on "Solving a puzzle by matching four corners" kata

    Don't use too many loops, and make sure they are as simple as possible. Also, a change of approach maybe? You would've solved a 5kyu without performance measures, just know that.

  • Custom User Avatar
    • reggaeguitar
    • commented on "Are they the "same"?" kata

    I'm confused, is

    a = [2; 2; 3]
    b = [4; 9; 9]

    supposed to return true or false?

  • Default User Avatar
    • tonylicoding
    • commented on "Solving a puzzle by matching four corners" kata

    Yes, if you click attempt, I can see your current solution so far.

  • Custom User Avatar
    • hladkky
    • commented on "Solving a puzzle by matching four corners" kata

    Oh, thanks. I will try to optimize code.
    And... I'm sorry. I am new to the codewars. Just would like to know.
    You can see my unpublished code for this task, right?

  • Default User Avatar
    • tonylicoding
    • commented on "Solving a puzzle by matching four corners" kata

    Your code is similar to bubble sort. Bubble sort is one of the slowest sorting algorithms, so no surprise that your code is very slow. Try using less for loops and ecspecially not switching each one.

  • Custom User Avatar
    • hladkky
    • commented on "Solving a puzzle by matching four corners" kata

    All I do is just sequentially look for pieces. But still my code is too slow. Can you inspirate me by any ideas?

  • Default User Avatar
    • Gorrillo
    • commented on "Are they the "same"?" kata

    It was not easy for me. Thank you guys!

  • 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