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
Algorithms
22
Arrays
22
Combinatorics
1
Data Structures
4
Fundamentals
5
Games
1
Lists
1
Mathematics
22
Matrix
1
Performance
4
Puzzles
1
Sorting
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
22 Kata Found
5 kyu
Mean Square Error
22,606
kylehill
Arrays
Mathematics
Algorithms
7 kyu
Unflatten a list (Easy)
1,678
user5036852
2 Issues Reported
Mathematics
Arrays
Algorithms
4 kyu
Sum by Factors
20,135
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
5 kyu
The Primes as a Result of the Longest Consecutive Sum I
194
raulbc777
Performance
Algorithms
Mathematics
Data Structures
Arrays
Fundamentals
7 kyu
SCHEDULE YOUR DA(RRA)Y
1,429
alexis-l8
5 Issues Reported
Arrays
Algorithms
Mathematics
Fundamentals
5 kyu
Josephus Survivor
16,864
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
7 kyu
Noonerize Me
1,609
webtechalex
Mathematics
Arrays
Algorithms
4 kyu
Unflatten a list (Harder than easy)
316
user5036852
1 Issue Reported
Mathematics
Arrays
Algorithms
5 kyu
Numbers with The Highest Amount of Divisors
605
raulbc777
4 Issues Reported
Fundamentals
Algorithms
Data Structures
Mathematics
Arrays
7 kyu
Adding values of arrays in a shifted way
2,073
user5036852
2 Issues Reported
Mathematics
Arrays
Algorithms
2 kyu
6 By 6 Skyscrapers
2,538
FrankK
4 Issues Reported
Mathematics
Puzzles
Games
Arrays
Matrix
Algorithms
6 kyu
Sorting on planet Twisted-3-7
2,896
user5036852
Mathematics
Sorting
Arrays
Algorithms
6 kyu
Pascal's Triangle
11,692
boatmeme
Arrays
Mathematics
Algorithms
8 kyu
To square(root) or not to square(root)
34,404
user5036852
1 Issue Reported
Mathematics
Arrays
Algorithms
7 kyu
Don't give me five!
42,676
user5036852
Mathematics
Arrays
Algorithms
7 kyu
Sum of Array Averages
4,146
Porso7
1 Issue Reported
Arrays
Mathematics
Algorithms
4 kyu
Smallest possible sum
8,110
dkhaburdzania
7 Issues Reported
Algorithms
Mathematics
Arrays
6 kyu
Longest Strict Bouncy Subarray
587
raulbc777
Performance
Algorithms
Mathematics
Data Structures
Arrays
6 kyu
Warm Up for Speed.
317
raulbc777
1 Issue Reported
Performance
Algorithms
Mathematics
Data Structures
Arrays
Sorting
Fundamentals
6 kyu
Unknown amount of duplicates. One missing number.
1,161
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Arrays
Algorithms
Sorting
Performance
5 kyu
Constrained GCD
105
KenKamau
1 Issue Reported
Arrays
Algorithms
Mathematics
Beta
Rotate Rectangles By 45 Degree Jumps
5
GeorgeSeeger
2 Issues Reported
Status:
Testing & feedback needed
Estimated Rank:
4 kyu
Mathematics
Arrays
Algorithms
Confirm
Collect:
undefined
Loading collection data...