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
1
Algorithms
11
Arrays
9
Bits
1
Data Structures
5
Fundamentals
49
Game Solvers
1
Games
3
Geometry
1
Lists
4
Logic
4
Mathematics
13
Puzzles
49
Restricted
2
Riddles
1
Sorting
1
Strings
10
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
49 Kata Found
7 kyu
Mumbling
240,122
g964
Fundamentals
Strings
Puzzles
7 kyu
Harry and the Mathematician's Chicken
262
developess
Puzzles
Arrays
Fundamentals
6 kyu
The furthest distance of index
312
myjinxin2015
Puzzles
Fundamentals
7 kyu
Consecutive Digits To Form Sum
2,903
MrZizoScream
1 Issue Reported
Fundamentals
Mathematics
Puzzles
7 kyu
Counting in the Amazon
5,869
tormod17
1 Issue Reported
Puzzles
Fundamentals
6 kyu
Free pizza
1,542
kingcobra
1 Issue Reported
Fundamentals
Puzzles
7 kyu
Simple Fun #17: Rounders
952
myjinxin2015
Puzzles
Fundamentals
7 kyu
Green Glass Door
2,123
Redmega
Strings
Fundamentals
Puzzles
6 kyu
Playing on a chessboard
4,521
g964
1 Issue Reported
Puzzles
Fundamentals
6 kyu
Integers: Recreation Two
964
g964
2 Issues Reported
Fundamentals
Mathematics
Puzzles
7 kyu
nth Floyd line
1,119
kodejuice
Mathematics
Puzzles
Fundamentals
5 kyu
Is my friend cheating?
18,149
g964
7 Issues Reported
Fundamentals
Mathematics
Puzzles
6 kyu
Experimenting with a sequence of complex numbers
537
g964
Fundamentals
Puzzles
7 kyu
Drying Potatoes
10,853
g964
3 Issues Reported
Fundamentals
Puzzles
6 kyu
Message from Aliens
775
dcieslak
2 Issues Reported
Puzzles
Fundamentals
6 kyu
Rectangle into Squares
33,455
g964
2 Issues Reported
Fundamentals
Geometry
Puzzles
7 kyu
draw me a chessboard
2,649
andrewMacmurray
4 Issues Reported
Puzzles
Fundamentals
ASCII Art
Algorithms
8 kyu
Pole Vault Starting Marks
4,560
HerrWert
2 Issues Reported
Fundamentals
Mathematics
Puzzles
6 kyu
Fuel usage reporting
238
ragtimesp
Fundamentals
Games
Puzzles
5 kyu
Pigs in a Pen
323
adrian.eyre
1 Issue Reported
Puzzles
Arrays
Fundamentals
6 kyu
Custom Christmas Tree III: the center of leaves
102
myjinxin2015
Puzzles
Strings
Mathematics
Fundamentals
6 kyu
Routes in a square grid
584
NaMe613
Fundamentals
Puzzles
7 kyu
Friends
1,102
KacperKorban
1 Issue Reported
Algorithms
Puzzles
Fundamentals
6 kyu
What's Your Poison?
1,145
Tandyman
2 Issues Reported
Puzzles
Riddles
Algorithms
Bits
Fundamentals
7 kyu
Equalize the array!
1,234
iamchingel
Fundamentals
Puzzles
Arrays
6 kyu
Calculate Pyramid Height
1,711
ecocode
Logic
Mathematics
Puzzles
Fundamentals
7 kyu
Red Knight
1,974
CarbonStrings
2 Issues Reported
Puzzles
Algorithms
Fundamentals
6 kyu
Hanoi record
2,969
Bugari
1 Issue Reported
Fundamentals
Algorithms
Mathematics
Puzzles
7 kyu
MOD 256 without the MOD operator
3,264
user5036852
3 Issues Reported
Algorithms
Fundamentals
Logic
Mathematics
Restricted
Puzzles
6 kyu
Shortest steps to a number
4,057
bdowds
1 Issue Reported
Puzzles
Mathematics
Fundamentals
Games
Loading...
Confirm
Collect:
undefined
Loading collection data...