Skip to content

List of Crystal Kata to Update

Ajay Mishra edited this page Apr 30, 2021 · 29 revisions

NOTE: Simply remove the kata from the list after updating.

Crystal 1.0 was added, but the following are not compatible. Please help updating them.


Common fixes:

  • Replace / with // (floored division)

Many of the translations by one user have nested it, and apparently have been displaying a corrupted output for many years (these does have very low completions considering the age). Nested it is a compile error in newer Crystal. These are also poorly structured, lacks proper indents, and the reference solution is "one-liner". So, please consider improving them as well. If the reference solution is difficult to understand, and prevents upgrade, replace with a better one.


  1. Alex & snooker: points earned.
  2. Alex & snooker: scores.
  3. All Star Code Challenge #28//
  4. Arrays and hex color codes
  5. Balanced Number (Special Numbers Series #1 )
  6. Basics 08: Find next higher number with same Bits (1's)
  7. Binary operations #1
  8. Bonuses
  9. Boolean logic from scratch
  10. Casino chips
  11. Christmas baubles on the tree
  12. Color Choice
  13. Computer problem series #1: Fill the Hard Disk Drive
  14. Consecutive k-Primes
  15. Convert number to reversed array of digits
  16. Correct the time-string
  17. Creating a string for an array of objects from a set of words
  18. Custom Christmas Tree
  19. D&D Character generator #1: attribute modifiers and spells
  20. D&D Character generator #2: psion power points
  21. Dan's great power generator
  22. Diamonds and Toads
  23. Diophantine Equation
  24. Disease Spread
  25. Easy Diagonal
  26. Elections: Weighted Average
  27. Eliminate the intruders! Bit manipulation
  28. Estimating Amounts of Subsets
  29. Factorial decomposition
  30. Fibonacci, Tribonacci and friends
  31. Forth
  32. Frank's Sticky Calculator
  33. Generic numeric template formatter
  34. Get the Middle Character
  35. Getting along with Integer Partitions
  36. Hello World - Without Strings
  37. Help your fellow warrior!
  38. How many e-mails we sent today?
  39. How many numbers III?
  40. Integers: Recreation One
  41. Is my friend cheating?
  42. k-Primes
  43. Longest palindrome
  44. Master your primes: sieve with memoization
  45. Median fun fun
  46. Mutate My Strings
  47. New £5 notes collectors!
  48. Ninety Nine Thousand Nine Hundred Ninety Nine
  49. No ifs no buts
  50. Number Format
  51. Order of weight
  52. Pair of gloves
  53. Parametric to Rectangular Equation
  54. Parsing JSON leaves
  55. Password generator
  56. Password System
  57. PRNG: Linear Congruential Generator
  58. Progressive Spiral Number Branch
  59. Quadruple M
  60. Queue time counter [hard core version]
  61. Reducing by rules to get the result
  62. Reducing by steps
  63. Resistor Color Codes
  64. Resistor Color Codes, Part 2
  65. Return 1, 2, 3 randomly
  66. SCHEDULE YOUR DA(RRA)Y
  67. Scramblies
  68. SHA-256 Cracker
  69. Some Egyptian fractions
  70. Statistics for an Athletic Association
  71. String subpattern recognition III
  72. Sum of a Sequence [Hard-Core Version]: overflows
  73. Sum of differences between products and LCMs: overflows
  74. Sum of Triangular Numbers: overflows
  75. Target Date
  76. To square(root) or not to square(root)
  77. Tortoise racing
  78. Tram Capacity
  79. Tribonacci Sequence
Clone this wiki locally