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
5
Algebra
1
Algorithms
51
Arrays
381
Binary
4
Bits
3
Ciphers
2
Cryptography
2
Data Science
2
Data Structures
24
Date Time
1
Debugging
1
Esoteric Languages
1
Filtering
1
Functional Programming
11
Fundamentals
381
Games
9
Geometry
1
Graph Theory
2
Interpreters
1
Language Features
1
Linear Algebra
2
Lists
40
Logic
6
Mathematics
25
Matrix
5
Metaprogramming
1
Number Theory
3
Object-oriented Programming
3
Parsing
1
Performance
7
Probability
1
Puzzles
9
Queues
1
Recursion
4
Refactoring
1
Regular Expressions
16
Security
1
Sorting
26
Statistics
2
Strings
106
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
381 Kata Found
7 kyu
Sum of Odd Cubed Numbers
10,996
elliottmck
5 Issues Reported
Fundamentals
Functional Programming
Arrays
7 kyu
Arithmetic List!
5,192
zenAndroid
1 Issue Reported
Arrays
Fundamentals
7 kyu
Friday the 13th Part 1
1,672
BurstNova
2 Issues Reported
Fundamentals
Arrays
6 kyu
Mexican Wave
73,797
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Hyper Sphere
2,266
CrowdHailer
Mathematics
Arrays
Fundamentals
8 kyu
Count of positives / sum of negatives
161,699
Dentzil
10 Issues Reported
Fundamentals
Arrays
Lists
8 kyu
Sort and Star
52,346
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
Sorting
8 kyu
Is there a vowel in there?
15,818
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
7 kyu
Array Array Array
4,587
PG1
Fundamentals
Strings
Arrays
8 kyu
Printing Array elements with Comma delimiters
29,935
Javatlacati
4 Issues Reported
Arrays
Fundamentals
6 kyu
Pine's Deaf Grandma
468
srMarquinho
Strings
Arrays
Fundamentals
8 kyu
Sum Arrays
199,587
richardhsu
3 Issues Reported
Arrays
Fundamentals
6 kyu
Frequency Analysis With Buckets
646
ajLapid718
2 Issues Reported
Fundamentals
Arrays
Sorting
6 kyu
Create a frame!
1,683
gabrielsiedler
Strings
Arrays
ASCII Art
Fundamentals
7 kyu
Unique(ish)
111
ReganRyanNZ
Arrays
Fundamentals
7 kyu
Return a string's even characters.
8,280
tu6619
Fundamentals
Strings
Arrays
7 kyu
Chinese Zodiac
2,198
AcesOfGlory
Fundamentals
Arrays
7 kyu
Name Array Capping
8,762
ogryzek
1 Issue Reported
Strings
Arrays
Fundamentals
7 kyu
Partial Word Searching
8,119
obnounce
4 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Points On A Line
1,571
prksingh
1 Issue Reported
Arrays
Geometry
Fundamentals
7 kyu
Filter unused digits
6,215
sunboshan
1 Issue Reported
Fundamentals
Filtering
Arrays
7 kyu
Is every value in the array an array?
5,142
Peter Rhodes
1 Issue Reported
Arrays
Fundamentals
8 kyu
Removing Elements
82,024
MorgzC41
1 Issue Reported
Lists
Arrays
Fundamentals
8 kyu
Count the Monkeys!
72,881
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
6 kyu
IntroToArt
902
citharista
1 Issue Reported
Arrays
Strings
ASCII Art
Fundamentals
7 kyu
Sort arrays - 1
16,120
ineiti
1 Issue Reported
Sorting
Arrays
Fundamentals
7 kyu
zero-balanced Array
1,333
aweleshetu
Arrays
Fundamentals
6 kyu
What The Biggest Search Keys?
552
bestwebua
1 Issue Reported
Fundamentals
Arrays
7 kyu
Harry and the Mathematician's Chicken
262
developess
Puzzles
Arrays
Fundamentals
8 kyu
Array#second
2,287
Lordnibbler
Fundamentals
Arrays
Loading...
Confirm
Collect:
undefined
Loading collection data...