Loading collection data...
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.
Thanks for this kata — I really enjoyed how it encourages thinking in two representations at once. Converting between binary and decimal here feels very natural, and the problem stays clean without adding unnecessary complexity.
I especially liked how the operation choice pushes you to keep the solution readable rather than clever-for-the-sake-of-it. It’s a great example of a kata that rewards clarity and correctness, and it fits perfectly as a practice exercise for understanding number systems and control flow together. Well designed and fun to solve — thanks for sharing it!
Java translation
https://www.codewars.com/kumite/6919a473af18de67f9a65303?sel=6919a473af18de67f9a65303
Description SVG should be inlined.
Enabled in this fork
Fixed in this fork
YOU could always do
System.out.println, but here you go ~~Enabled in this fork
The kata lacks a description about the order of the duplicates, I guess it's more challenging figuring it out by oneself however it should be specified.
Approved
python new test framework is required. updated in this fork
This comment is hidden because it contains spoiler information about the solution
Finding Secret Messages
kata description
didn't work - Expected: 'there was never a secret message', instead got: 'there was never a secret'
Completed in 1ms
random test
Test for no duplicates - Expected: '', instead got: 'uqzh fnbu sxgkig leqs sctiitd sacwgv bmynt kzfp ubythv rqukeu yhgtmol jgdyikq fmzkct rsdjm aosni kqpy mwgkp hyfyfii wfudp adzb gblc whlst cyxvg daxnwuf jydyqov zygnq sjmwl elie xzjhrh kygt vjryy rhyciqf xgpo qanvkk lhipv xnvvt prtn zupvnhh ytdez ablhin. cdwtitd cxkz nxzeb kauabqb kbckv wezb nmcljo skdp kiyptr kjcj pzmiygk uqgbl vapdvjj jnuirk jczrq mcpnoed kshw lnqq xike dhgq. rucnw jkooe ddnhc eggt eqpnui buaezrq jrqk dmuyio oavjwp ursae hfcs vitugv qsvnnyq ysxvw vjdvja pvugcu zkvqunn vzpkd ajcxn wytuisw.'
randomly injected duplicates - Expected: 'slgj tthy qnxjbma miszch geyru pfgbt zjhvaz bswev jkeaj yronyn', instead got: 'slgj qnxjbma miszch geyru pfgbt zjhvaz bswev jkeaj yronyn'
Don't this problems in console browser. Why?
Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
Loading more items...