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
3
Algorithms
12
Arrays
7
Combinatorics
1
Cryptography
1
Data Structures
3
Fundamentals
10
Games
4
Lists
2
Mathematics
5
Number Theory
1
Permutations
1
Puzzles
40
Regular Expressions
5
Restricted
3
Strings
40
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
40 Kata Found
7 kyu
Mumbling
240,040
g964
1 Issue Reported
Fundamentals
Strings
Puzzles
7 kyu
Green Glass Door
2,122
Redmega
Strings
Fundamentals
Puzzles
6 kyu
What Color is Your Name?
461
user84543
Puzzles
Strings
Algorithms
6 kyu
Button sequences
262
0xbba
2 Issues Reported
Strings
Games
Puzzles
6 kyu
One down
1,205
WesleyYoung
1 Issue Reported
Strings
Algorithms
Cryptography
Puzzles
7 kyu
Return pyramids
1,381
josemanuel.rincon
Strings
Algorithms
ASCII Art
Puzzles
7 kyu
Monkey's MATH 01: How many "ZERO"s?
1,175
myjinxin2015
Strings
Regular Expressions
Puzzles
5 kyu
1's, 0's and wildcards
1,822
Tefferson
Combinatorics
Strings
Permutations
Puzzles
6 kyu
We are the Robots d[(0)(0)]b
316
user8476848
2 Issues Reported
Algorithms
Data Structures
Regular Expressions
Puzzles
Strings
6 kyu
Drunk friend
1,226
vasekhlav
Strings
Algorithms
Puzzles
6 kyu
Custom Christmas Tree III: the center of leaves
102
myjinxin2015
Puzzles
Strings
Mathematics
Fundamentals
5 kyu
String -> N iterations -> String
798
Jomopipi
1 Issue Reported
Strings
Algorithms
Puzzles
6 kyu
Custom Christmas Tree
1,033
myjinxin2015
Strings
ASCII Art
Puzzles
7 kyu
Simple Fun #182: Happy "g"
1,651
myjinxin2015
Puzzles
Strings
Regular Expressions
7 kyu
Guess the Word: Count Matching Letters
1,585
GrahamD
Strings
Games
Puzzles
2 kyu
Regular Expression - Check if divisible by 0b111 (7)
2,260
Hacker Sakana
Puzzles
Regular Expressions
Strings
Algorithms
6 kyu
Dead Ants
2,448
dinglemouse
Algorithms
Strings
Puzzles
7 kyu
Pandemia 🌡️
4,999
Jjason
1 Issue Reported
Strings
Puzzles
7 kyu
Complete The Pattern #1
10,577
DivyanshBatham
Strings
ASCII Art
Puzzles
6 kyu
High-Stakes Binary Blackjack
17
ajLapid718
Puzzles
Mathematics
Strings
Games
8 kyu
Never visit a . . . !?
20,343
aryan-firouzian
1 Issue Reported
Puzzles
Strings
Number Theory
Mathematics
7 kyu
Trilingual democracy
2,185
jcsahnwaldt
Fundamentals
Puzzles
Strings
5 kyu
Cheating a bit...
214
jvalencia80
2 Issues Reported
Strings
Arrays
Puzzles
1 kyu
Regular Expression for Binary Numbers Divisible by n
1,225
hufftheweevil
7 Issues Reported
Algorithms
Puzzles
Regular Expressions
Strings
8 kyu
Up and down, the string grows
5,820
Gao-Jun
Strings
Puzzles
7 kyu
What is the flag?
931
Alked
1 Issue Reported
Fundamentals
Puzzles
Strings
5 kyu
Luck check
4,731
SundaySalsa
8 Issues Reported
Strings
Mathematics
Puzzles
6 kyu
Investigator's holidays and hidden messages
127
mauro-1
Strings
Puzzles
Beta
Khabib vs Tony
7
Krillan
Status:
Ranking feedback needed
Estimated Rank:
5 kyu
Puzzles
Fundamentals
Strings
4 kyu
Tracking pawns
511
Nmistrata
3 Issues Reported
Strings
Arrays
Algorithms
Puzzles
Loading...
Confirm
Collect:
undefined
Loading collection data...