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
6
Algebra
2
Algorithms
197
Arrays
554
Binary
7
Binary Search Trees
1
Bits
4
Ciphers
2
Combinatorics
1
Cryptography
2
Data Science
3
Data Structures
34
Date Time
2
Debugging
3
Domain Specific Languages
1
Esoteric Languages
2
Filtering
2
Functional Programming
13
Fundamentals
381
Games
18
Genetic Algorithms
1
Geometry
1
Graph Theory
3
Interpreters
2
Language Features
2
Linear Algebra
2
Lists
64
Logic
17
Mathematics
47
Matrix
11
Metaprogramming
1
Number Theory
3
Object-oriented Programming
7
Parsing
2
Performance
14
Probability
2
Puzzles
26
Queues
2
Recursion
7
Refactoring
2
Regular Expressions
18
Restricted
2
Searching
2
Security
1
Sorting
46
Statistics
4
Streams
1
Strings
138
Tutorials
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
554 Kata Found
8 kyu
Sum Arrays
203,653
richardhsu
4 Issues Reported
Arrays
Fundamentals
7 kyu
Driving Licence
4,084
adrian.eyre
4 Issues Reported
Strings
Arrays
Fundamentals
7 kyu
Hit Count
3,525
glenoakes
3 Issues Reported
Arrays
Fundamentals
5 kyu
Don't Drink the Water
2,860
NateBrady23
Algorithms
Arrays
Sorting
Lists
7 kyu
Double Trouble
3,807
PG1
1 Issue Reported
Fundamentals
Arrays
7 kyu
Help the Fruit Guy
7,939
user3028132
3 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Get Password from grid
870
kodejuice
Logic
Arrays
Algorithms
Data Structures
6 kyu
Fruit Machine
3,597
adrian.eyre
1 Issue Reported
Arrays
Games
Fundamentals
6 kyu
Find the unique number
155,343
isqua
3 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
6 kyu
English beggars
9,839
GiacomoSorbi
Queues
Arrays
Lists
Recursion
Fundamentals
8 kyu
Array plus array
91,595
Dmitry Kudla
1 Issue Reported
Fundamentals
Arrays
Debugging
6 kyu
Split and then add both sides of an array together.
3,456
bori0066
Arrays
Algorithms
6 kyu
Organise duplicate numbers in list
2,567
dangerdak
Arrays
Sorting
Fundamentals
6 kyu
Does array x contain all values within array y?
2,887
jhoffner
2 Issues Reported
Arrays
Fundamentals
7 kyu
CompoundArray
2,833
Delacroix23
Arrays
Fundamentals
7 kyu
Alternate Square Sum
3,935
hakunaMatata
Fundamentals
Arrays
Lists
7 kyu
Convert the score
3,510
Nspringham
Fundamentals
Arrays
8 kyu
Invert values
180,722
user7657844
1 Issue Reported
Lists
Fundamentals
Arrays
8 kyu
Find numbers which are divisible by given number
44,959
XxxX88
1 Issue Reported
Arrays
Algorithms
8 kyu
Count the Monkeys!
74,134
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
8 kyu
Total amount of points
118,488
petrosernivka
1 Issue Reported
Fundamentals
Arrays
Strings
8 kyu
Count by X
153,720
shums16
Arrays
Fundamentals
8 kyu
Convert a string to an array
157,574
samjam48
3 Issues Reported
Arrays
Strings
Fundamentals
7 kyu
Dominant array elements
4,454
KenKamau
1 Issue Reported
Arrays
Fundamentals
8 kyu
Beginner - Reduce but Grow
170,448
PG1
1 Issue Reported
Fundamentals
Arrays
8 kyu
Sentence Smash
173,626
richardhsu
Strings
Arrays
Fundamentals
7 kyu
Odd or Even?
149,953
ethaning
2 Issues Reported
Fundamentals
Arrays
7 kyu
Ones and Zeros
154,971
user4386369
3 Issues Reported
Fundamentals
Arrays
8 kyu
Beginner - Lost Without a Map
203,141
PG1
3 Issues Reported
Fundamentals
Arrays
8 kyu
Convert number to reversed array of digits
202,835
emporio
Arrays
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...