• 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
Coldberg Avatar
Name:Aleksandras Ševčenko
Clan:void_t
Member Since:Dec 2013
Last Seen:Mar 2024
Profiles:
Following:1
Followers:15
Allies:1
View Profile Badges
Ad
8 Reasons Why Codewarriors Practice Coding with Codewars
Not everyone trains the same. Discover new ways to leverage Codewars in your education and career.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored
  • Needs Resolution (46)
  • Custom User Avatar
    • Lordfire
    • created a suggestion for "Help the general decode secret enemy messages." kata
    • 3 months ago

    I know this is no fun but there is no reason to make people solve the mystery. This should be about programming, not encryption.

  • Custom User Avatar
    • hazevt04
    • created a question for "Help the general decode secret enemy messages." kata
    • 5 months ago

    I am... confused. Where are the encrypted messages? As far as I can tell there's code showing example inputs to the Encoder::encode() function and a for loop making three strings from the result of the encode. Am I missing something?

  • Custom User Avatar
    • Terror90
    • created an issue for "Help the general decode secret enemy messages." kata
    • 5 months ago

    C# the solution is in the sample tests area and the sample tests are in the solution area

  • Custom User Avatar
    • hobovsky
    • created an issue for "Find the missing term in an Arithmetic Progression" kata
    • 6 months ago

    C#: titles of tests are really poor.

  • Custom User Avatar
    • uniapi
    • created a suggestion for "Find the missing term in an Arithmetic Progression" kata
    • 9 months ago

    RISC-V Translation

  • Custom User Avatar
    • metatable
    • created a suggestion for "Find the missing term in an Arithmetic Progression" kata
    • 10 months ago

    Lua translation!

  • Custom User Avatar
    • Eneru
    • created a suggestion for "Help the general decode secret enemy messages." kata
    • 14 months ago

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

  • Custom User Avatar
    • Monkulus.Jonkulus
    • created a question for "Find the missing term in an Arithmetic Progression" kata
    • 16 months ago

    for testcase "Actual: 0, Expected: 1Nums: [1, 1, 1]" I get a wrong result even though in my own testing I get correct result

  • Custom User Avatar
    • Peter-developer01
    • created an issue for "Help the general decode secret enemy messages." kata
    • 2 years ago

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

  • Custom User Avatar
    • typeError92
    • created a suggestion for "Help the general decode secret enemy messages." kata
    • 2 years ago

    Nice kata! :)

    I would suggest adding two more aspects to the tests:

    1. some longer codes/messages, say > 150 characters, and
    2. some codes/messages containing a wider range of characters, say all printable ASCII characters or at least some of the special characters highlighted in the instructions.

    I think it's reasonable to expect a decoder to handle both, but currently it's possible to pass the tests with some solutions that can't ;)

  • Custom User Avatar
    • tommal
    • created a question for "Help the general decode secret enemy messages." kata
    • 2 years ago

    I figured how the encryption works, got the dictionary and the formula but I have problems with long strings as my solution includes calculating 2^(positionInMessage)... which of course eventually leads to too big numbers. Is there a math trick to optimize that?

  • Custom User Avatar
    • ejini战神
    • created an issue for "Find the missing term in an Arithmetic Progression" kata
    • 2 years ago

    Description should be language-agnostic

  • Custom User Avatar
    • JesseMeiring
    • created a question for "Help the general decode secret enemy messages." kata
    • 2 years ago

    Only one of the tests is failing and I can't seem to find any difference between my answer and the expected answers. Kinda frusturating but a fun puzzle:

    The quick brown fox jumped over the lazy developer.

    Test Passed
    Log

    The quick brown fox jumped over the lazy developer.

    The secrecy system has systematically denied

    Test Passed
    Log

    The secrecy system has systematically denied

    American historians access to the records of American

    Test Passed
    Log

    American historians access to the records of American

    history. Of late we find ourselves relying on archives

    Test Passed
    Log

    history. Of late we find ourselves relying on archives

    of the former Soviet Union in Moscow to resolve

    Test Passed
    Log

    of the former Soviet Union in Moscow to resolve

    questions of what was going on in Washington at

    Test Passed
    Log

    questions of what was going on in Washington at

    midcentury. The Venona intercepts contained

    Doesn't make sense
    Log

    midcentury. The Venona intercepts contained

    overwhelming proof of the activities of Soviet spy

    Test Passed
    Log

    overwhelming proof of the activities of Soviet spy

    networks in America, complete with names,

    Test Passed
    Log

    networks in America, complete with names,

    dates, places, and deeds.

    Test Passed
    Log

    dates, places, and deeds.

  • Custom User Avatar
    • 66
    • created an issue for "Find the missing term in an Arithmetic Progression" kata
    • 2 years ago

    Language: C++

    Test suit missing the required header std::vector

  • Custom User Avatar
    • pelumi
    • created a question for "Help the general decode secret enemy messages." kata
    • 3 years ago

    Solved by figuring out a function analagous to the encoder function and then "reversing" the input and output for each position in the overall string using dictionaries, but I saw some people were able to obtain the encoder function and I can't deduce why my encoder function also works, and also why other people's different decoder functions work? Can someone help me understand?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...