Kata Library: Ruby Practice
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
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
Algorithms
23
Combinatorics
4
Data Structures
2
Fundamentals
6
Geometry
1
Logic
1
Machine Learning
4
Mathematics
11
Memoization
1
Number Theory
23
Performance
8
Permutations
2
Puzzles
1
Recursion
3
Regular Expressions
1
Strings
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
23 Kata Found
6 kyu
Goldbach's Conjecture
605
rsalgado
Algorithms
Number Theory
6 kyu
Collatz
5,258
trent.armstrong
Number Theory
Algorithms
5 kyu
Sorting Arrays by the Amount of Perfect Squares that Each Element May Generate
486
raulbc777
1 Issue Reported
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
Generate Numbers From Digits #2
110
raulbc777
Fundamentals
Logic
Strings
Data Structures
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
Following Sierpinski's Footprints
55
raulbc777
Algorithms
Performance
Number Theory
Fundamentals
5 kyu
Almost Isosceles Integer Triangles With Their Angles With Asymptotic Tendency
70
raulbc777
Algorithms
Performance
Number Theory
Recursion
Geometry
Fundamentals
5 kyu
k-Primes
3,105
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
6 kyu
Ulam Sequences
256
erdos2n
Number Theory
Mathematics
Algorithms
6 kyu
Simple Fun #146: Chandos Number
392
myjinxin2015
Algorithms
Number Theory
4 kyu
Polydivisible Numbers
635
ChristianECooper
2 Issues Reported
Number Theory
Algorithms
4 kyu
Binary multiple of 3
7,643
rsalgado
3 Issues Reported
Regular Expressions
Algorithms
Puzzles
Number Theory
4 kyu
Hamming Numbers
12,359
xcthulhu
4 Issues Reported
Number Theory
Algorithms
6 kyu
Shuffle It Up II
80
raulbc777
Algorithms
Performance
Number Theory
Recursion
Fundamentals
5 kyu
Equivalent Dice
147
raulbc777
1 Issue Reported
Algorithms
Performance
Number Theory
Recursion
Fundamentals
6 kyu
Stern-Brocot Sequence Part I
340
erdos2n
Number Theory
Algorithms
5 kyu
Shuffle It Up
574
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Primes with Even Digits
906
raulbc777
Strings
Data Structures
Algorithms
Mathematics
Number Theory
5 kyu
Combinations in a Set Using Boxes II
40
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
5 kyu
Combinations in a Set Using Boxes
114
raulbc777
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
Memoization
5 kyu
Counting the Webdesigns based on Used Colours
93
raulbc777
1 Issue Reported
Performance
Algorithms
Mathematics
Machine Learning
Combinatorics
Number Theory
6 kyu
Friendly Pairs I
240
erdos2n
Number Theory
Algorithms
5 kyu
Right Truncatable Harshad numbers
91
anter69
Mathematics
Number Theory
Algorithms
4 kyu
Bernoulli numbers
263
JustyFY
2 Issues Reported
Fundamentals
Mathematics
Number Theory
Algorithms
Confirm
Collect:
undefined
Loading collection data...