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
1825
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,825 Kata Found
7 kyu
Shift Left
2,125
sazzadshopno
Fundamentals
7 kyu
The old switcheroo 2
3,080
joh_pot
Strings
Fundamentals
8 kyu
Welcome to the City
32,156
troglodite
2 Issues Reported
Strings
Fundamentals
7 kyu
Convert a Hashy String to a Hash
193
binarymason
Strings
Fundamentals
7 kyu
Friday the 13th Part 1
1,572
BurstNova
2 Issues Reported
Fundamentals
Arrays
7 kyu
Return substring instance count
8,535
jhoffner
2 Issues Reported
Strings
Fundamentals
7 kyu
Mumbling
239,856
g964
1 Issue Reported
Fundamentals
Strings
Puzzles
6 kyu
Cut me in Pieces but in The Way I Like
136
raulbc777
Fundamentals
Algorithms
Mathematics
6 kyu
Mexican Wave
73,695
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Hyper Sphere
2,244
CrowdHailer
Mathematics
Arrays
Fundamentals
8 kyu
Count of positives / sum of negatives
161,346
Dentzil
10 Issues Reported
Fundamentals
Arrays
Lists
8 kyu
Sort and Star
52,164
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
Sorting
8 kyu
Is there a vowel in there?
15,688
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
7 kyu
Array Array Array
4,540
PG1
Fundamentals
Strings
Arrays
8 kyu
Printing Array elements with Comma delimiters
29,856
Javatlacati
4 Issues Reported
Arrays
Fundamentals
7 kyu
Search for letters
7,471
Roy Gardiner
Strings
Fundamentals
7 kyu
Simple Fun #176: Reverse Letter
38,231
myjinxin2015
3 Issues Reported
Fundamentals
7 kyu
Scrabble Score
4,658
noku
1 Issue Reported
Fundamentals
Strings
6 kyu
Pine's Deaf Grandma
459
srMarquinho
Strings
Arrays
Fundamentals
8 kyu
Even or Odd
560,578
suuuzi
Mathematics
Fundamentals
8 kyu
Multiply
5,546,936
11 Issues Reported
Debugging
Fundamentals
7 kyu
Unique string characters
7,834
KenKamau
Strings
Fundamentals
7 kyu
Zero Terminated Sum
1,307
FixedGrey
Fundamentals
7 kyu
What comes after?
1,667
kkavita92
1 Issue Reported
Fundamentals
7 kyu
Stacked Balls - 2D
2,105
dinglemouse
1 Issue Reported
Fundamentals
8 kyu
Sum Arrays
199,357
richardhsu
3 Issues Reported
Arrays
Fundamentals
7 kyu
Cats in hats
1,696
16sheep
1 Issue Reported
Fundamentals
7 kyu
Chain me
7,773
nrgarg
3 Issues Reported
Fundamentals
7 kyu
Bits Battle
2,203
vpop
1 Issue Reported
Fundamentals
Binary
Bits
6 kyu
Deal a Shuffled Deck of Cards
407
GeorgeSeeger
1 Issue Reported
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...