• 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
pyatsysh Avatar
Name:Unknown
Clan:Unknown
Member Since:Nov 2019
Last Seen:Apr 2022
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
Ad
Educator, struggling to assess your students?
Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (6)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • pyatsysh
    • commented on "Ideal Trader" kata
    • 3 years ago

    It looks like this is a time series of price values of some item: you read the prices left to right, and for each price value you must decide to buy or sell or pass. You cannot go back in time. In your example, if you bought at 0.8, you would only be able to sell at 0.9 or 1.0, because selling at 1.2 would require you to go back in time.

  • Custom User Avatar
    • ejini战神
    • resolved a question on "Perimeter of squares in a rectangle" kata
    • 5 years ago

    'looks like u solved it'

  • Custom User Avatar
    • pyatsysh
    • commented on "Sum by Factors" kata
    • 6 years ago

    Very artificial exercise. Completely useless test cases. Waste of time

  • Custom User Avatar
    • neilm
    • commented on "Perimeter of squares in a rectangle" kata
    • 6 years ago

    Python by default has a recursion limit of 1,000, meaning a function can't call itself more than 1,000 times.

    Check that the your solution is not falling foul of this.

  • Custom User Avatar
    • SenpaiX00
    • commented on "Perimeter of squares in a rectangle" kata
    • 6 years ago

    Looks like you need to actually read the challenge and not just skim it.

  • Custom User Avatar
    • pyatsysh
    • created a question for "Perimeter of squares in a rectangle" kata
    • 6 years ago

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

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...