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
30
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
7 kyu
Convert a Hashy String to a Hash
189
binarymason
Strings
Fundamentals
7 kyu
Friday the 13th Part 1
1,406
BurstNova
2 Issues Reported
Fundamentals
Arrays
8 kyu
Classic Hello World
20,928
Javatlacati
4 Issues Reported
Fundamentals
Object-oriented Programming
7 kyu
Shift Left
1,982
sazzadshopno
Fundamentals
7 kyu
Return substring instance count
8,501
jhoffner
Strings
Fundamentals
7 kyu
Mumbling
239,713
g964
Fundamentals
Strings
Puzzles
6 kyu
Cut me in Pieces but in The Way I Like
131
raulbc777
Fundamentals
Algorithms
Mathematics
6 kyu
Mexican Wave
73,600
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Hyper Sphere
2,230
CrowdHailer
Mathematics
Arrays
Fundamentals
8 kyu
Count of positives / sum of negatives
161,100
Dentzil
10 Issues Reported
Fundamentals
Arrays
Lists
8 kyu
Sort and Star
52,060
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
Sorting
8 kyu
Is there a vowel in there?
15,634
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
7 kyu
Array Array Array
4,513
PG1
Fundamentals
Strings
Arrays
8 kyu
Printing Array elements with Comma delimiters
29,780
Javatlacati
4 Issues Reported
Arrays
Fundamentals
7 kyu
Search for letters
7,443
Roy Gardiner
Strings
Fundamentals
7 kyu
Simple Fun #176: Reverse Letter
38,195
myjinxin2015
3 Issues Reported
Fundamentals
7 kyu
Scrabble Score
4,652
noku
1 Issue Reported
Fundamentals
Strings
6 kyu
Pine's Deaf Grandma
455
srMarquinho
Strings
Arrays
Fundamentals
8 kyu
Even or Odd
560,266
suuuzi
Mathematics
Fundamentals
8 kyu
Multiply
5,546,768
11 Issues Reported
Debugging
Fundamentals
7 kyu
Unique string characters
7,818
KenKamau
Strings
Fundamentals
7 kyu
Zero Terminated Sum
1,303
FixedGrey
Fundamentals
7 kyu
What comes after?
1,655
kkavita92
1 Issue Reported
Fundamentals
7 kyu
Stacked Balls - 2D
2,097
dinglemouse
1 Issue Reported
Fundamentals
8 kyu
Sum Arrays
199,197
richardhsu
3 Issues Reported
Arrays
Fundamentals
7 kyu
Cats in hats
1,695
16sheep
1 Issue Reported
Fundamentals
7 kyu
Chain me
7,771
nrgarg
3 Issues Reported
Fundamentals
7 kyu
Bits Battle
2,198
vpop
1 Issue Reported
Fundamentals
Binary
Bits
6 kyu
Deal a Shuffled Deck of Cards
405
GeorgeSeeger
1 Issue Reported
Fundamentals
Beta
Readable developer-friendly large numbers
60
SaladFork
2 Issues Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
6 kyu
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...