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
Algebra
9
Algorithms
318
Arrays
22
Big Integers
1
Binary
1
Bits
1
Combinatorics
10
Data Science
4
Data Structures
69
Date Time
1
Dynamic Programming
6
Fundamentals
116
Game Solvers
1
Games
5
Geometry
21
Graph Theory
1
Interpreters
1
Linear Algebra
2
Lists
2
Logic
44
Machine Learning
5
Mathematics
318
Matrix
7
Memoization
11
Networks
1
Number Theory
11
Parsing
2
Performance
22
Permutations
8
Physics
1
Probability
3
Puzzles
12
Recursion
8
Restricted
2
Searching
1
Sorting
16
Statistics
5
Strings
26
Tutorials
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
318 Kata Found
6 kyu
Matrix Trace
1,202
chipit24
Linear Algebra
Mathematics
Matrix
Algorithms
4 kyu
Matrix Determinant
24,271
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
6 kyu
Multiples of 3 and 5 redux
1,999
yumaikas
Algorithms
Mathematics
5 kyu
Largest product in a series
3,882
JaniL
Mathematics
Algorithms
6 kyu
Cut me in Pieces but in The Way I Like
137
raulbc777
Fundamentals
Algorithms
Mathematics
5 kyu
Mean Square Error
22,272
kylehill
Arrays
Mathematics
Algorithms
6 kyu
Mutual Recursion
8,682
dnolan
1 Issue Reported
Mathematics
Algorithms
Recursion
7 kyu
Statistics Algorithm - Calculate Sample Space
478
Fluffy
Mathematics
Algorithms
6 kyu
Last non-zero digit of factorial
479
mauro-1
Mathematics
Algorithms
5 kyu
Exponent method
1,328
craecke
Mathematics
Algorithms
7 kyu
Weight of its Contents
2,625
dnolan
3 Issues Reported
Algorithms
Mathematics
6 kyu
Sum of Digits / Digital Root
288,701
user578387
3 Issues Reported
Mathematics
Algorithms
4 kyu
Trailing zeros in factorials, in any given integer base
622
Dr Phil
Mathematics
Algorithms
5 kyu
Help Suzuki pack his coal basket!
276
user8476848
Dynamic Programming
Algorithms
Data Structures
Mathematics
6 kyu
Help Kiyo きよ solve her problems LCM Fun!
493
user8476848
Algorithms
Data Structures
Mathematics
Fundamentals
6 kyu
AD2070: Help Lorimar troubleshoot his robots-Search and Disable
231
user8476848
1 Issue Reported
Data Structures
Mathematics
Algorithms
Data Science
6 kyu
A Combinatorial Way to Get Products and Sums of an Array
193
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Data Structures
Algorithms
7 kyu
Reimplement Multiplication Part 1
811
DiegoSalazar
1 Issue Reported
Mathematics
Algorithms
7 kyu
Dee, The Generous Tipper
334
DiegoSalazar
Mathematics
Algorithms
7 kyu
Sort rectangles and circles by area II
2,857
JohanWiltink
Fundamentals
Algorithms
Sorting
Mathematics
Geometry
6 kyu
Summation Of Primes
771
maxwellmlin
Algorithms
Mathematics
4 kyu
Permutational Primes
538
raulbc777
1 Issue Reported
Algorithms
Sorting
Permutations
Mathematics
Memoization
Data Structures
6 kyu
Longest Consecutive Sequence of Squares
250
kodejuice
1 Issue Reported
Mathematics
Algorithms
6 kyu
Coprimes up to N
985
rasmus_ri
1 Issue Reported
Mathematics
Algorithms
6 kyu
When greatest is less than smallest
412
NaMe613
Mathematics
Logic
Algorithms
5 kyu
Sum and Rest the Number with its Reversed and See What Happens
1,375
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Algorithms
Memoization
Dynamic Programming
8 kyu
Points of Reflection
10,890
webtechalex
Mathematics
Geometry
Algorithms
6 kyu
Find Numbers with Same Amount of Divisors
934
raulbc777
2 Issues Reported
Algorithms
Mathematics
6 kyu
Selecting Quotients From an Array
275
raulbc777
1 Issue Reported
Fundamentals
Data Structures
Algorithms
Sorting
Mathematics
Logic
7 kyu
Unflatten a list (Easy)
1,667
user5036852
2 Issues Reported
Mathematics
Arrays
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...