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
ASCII Art
31
Algebra
12
Algorithms
273
Arrays
381
Binary
19
Bits
12
Ciphers
14
Combinatorics
5
Concurrency
1
Cryptography
14
Data Science
6
Data Structures
114
Databases
1
Date Time
16
Debugging
11
Design Patterns
6
Domain Specific Languages
1
Dynamic Programming
6
Esoteric Languages
1
Event Handling
1
Filtering
4
Functional Programming
20
Fundamentals
1826
Game Solvers
1
Games
22
Genetic Algorithms
2
Geometry
46
Graph Theory
2
Interpreters
2
Language Features
4
Linear Algebra
4
Linked Lists
8
Lists
66
Logic
64
Machine Learning
1
Mathematics
305
Matrix
15
Memoization
10
Metaprogramming
8
MongoDB
1
Networks
2
Number Theory
16
Object-oriented Programming
29
Parsing
12
Performance
26
Permutations
10
Probability
2
Puzzles
49
Queues
2
Recursion
21
Refactoring
3
Regular Expressions
123
Restricted
12
Riddles
1
Searching
2
Security
4
Sets
1
Sorting
53
State Machines
1
Statistics
5
Strings
421
Threads
4
Trees
2
Tutorials
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
1,826 Kata Found
6 kyu
Count the divisible numbers
3,376
joh_pot
1 Issue Reported
Fundamentals
Algorithms
6 kyu
What's A Name In?
3,796
crimbus
4 Issues Reported
Fundamentals
7 kyu
Unique Sum
4,076
Alpri Else
Lists
Logic
Filtering
Fundamentals
7 kyu
How many times should I go?
3,726
nbeck
2 Issues Reported
Fundamentals
7 kyu
Genetic Algorithm Series - #1 Generate
3,644
gabrielsiedler
2 Issues Reported
Strings
Fundamentals
Genetic Algorithms
Algorithms
6 kyu
Sum of prime-indexed elements
2,878
KenKamau
1 Issue Reported
Lists
Fundamentals
7 kyu
Pairs of integers from 0 to n
1,919
buttonupbub
Fundamentals
8 kyu
Grasshopper - Terminal game move function
78,829
danleavitt0
Fundamentals
8 kyu
Sum Arrays
203,369
richardhsu
4 Issues Reported
Arrays
Fundamentals
7 kyu
Driving Licence
4,060
adrian.eyre
4 Issues Reported
Strings
Arrays
Fundamentals
7 kyu
Simple letter removal
3,139
KenKamau
1 Issue Reported
Fundamentals
7 kyu
Do you speak retsec?
2,974
rrolt
Fundamentals
6 kyu
Array combinations
2,756
KenKamau
Fundamentals
Combinatorics
7 kyu
Hit Count
3,501
glenoakes
3 Issues Reported
Arrays
Fundamentals
8 kyu
Add new item (collections are passed by reference)
6,720
aryan-firouzian
4 Issues Reported
Fundamentals
8 kyu
Age Range Compatibility Equation
10,146
AcesOfGlory
1 Issue Reported
Fundamentals
7 kyu
Double Trouble
3,794
PG1
1 Issue Reported
Fundamentals
Arrays
7 kyu
Help the Fruit Guy
7,930
user3028132
3 Issues Reported
Arrays
Strings
Fundamentals
4 kyu
Explosive Sum
9,143
surtich
2 Issues Reported
Algorithms
Mathematics
Fundamentals
7 kyu
Digits explosion
18,599
angellaa
Strings
Regular Expressions
Fundamentals
6 kyu
Fruit Machine
3,593
adrian.eyre
1 Issue Reported
Arrays
Games
Fundamentals
7 kyu
Geometric Progression Sequence
3,415
baaart
4 Issues Reported
Fundamentals
8 kyu
Color Ghost
20,918
ogryzek
8 Issues Reported
Object-oriented Programming
Fundamentals
7 kyu
Check if a triangle is an equable triangle!
2,953
iamchingel
2 Issues Reported
Fundamentals
Geometry
7 kyu
Baby shark lyrics generator
2,835
albertogcmr
1 Issue Reported
Strings
Lists
Fundamentals
Restricted
6 kyu
Simple Simple Simple String Expansion
3,841
alansun
1 Issue Reported
Strings
Regular Expressions
Fundamentals
6 kyu
Find the unique number
155,288
isqua
3 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
6 kyu
English beggars
9,834
GiacomoSorbi
Queues
Arrays
Lists
Recursion
Fundamentals
8 kyu
Hello, Name or World!
36,037
tadan
3 Issues Reported
Fundamentals
7 kyu
Simple Fun #334: Two Beggars And Gold
983
myjinxin2015
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...