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
1
Algorithms
60
Arrays
14
Binary Trees
1
Combinatorics
5
Cryptography
1
Data Structures
5
Dynamic Programming
6
Fundamentals
26
Games
1
Geometry
1
Linked Lists
1
Lists
2
Logic
2
Machine Learning
5
Mathematics
35
Memoization
3
Number Theory
8
Performance
80
Permutations
3
Puzzles
8
Recursion
3
Refactoring
1
Sorting
4
Statistics
1
Strings
4
Trees
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
80 Kata Found
6 kyu
Change Machine
399
Lordnibbler
6 Issues Reported
Algorithms
Performance
6 kyu
Not prime numbers
1,366
riyakayal
1 Issue Reported
Fundamentals
Performance
Algorithms
6 kyu
Find the unique number
152,998
isqua
4 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
7 kyu
The Poet And The Pendulum
4,805
MrZizoScream
4 Issues Reported
Fundamentals
Arrays
Algorithms
Performance
6 kyu
Find the unique number
2,134
kayahr
Arrays
Performance
Fundamentals
5 kyu
Following Sierpinski's Footprints
55
raulbc777
Algorithms
Performance
Number Theory
Fundamentals
5 kyu
Almost Isosceles Integer Triangles With Their Angles With Asymptotic Tendency
70
raulbc777
Algorithms
Performance
Number Theory
Recursion
Geometry
Fundamentals
6 kyu
Allergy to Palindromes.
470
raulbc777
Fundamentals
Algorithms
Mathematics
Performance
Permutations
6 kyu
Pentabonacci
2,184
raulbc777
4 Issues Reported
Fundamentals
Mathematics
Algorithms
Performance
Dynamic Programming
5 kyu
The Primes as a Result of the Longest Consecutive Sum I
192
raulbc777
Performance
Algorithms
Mathematics
Data Structures
Arrays
Fundamentals
7 kyu
Over The Road
16,324
rge123
Fundamentals
Mathematics
Performance
6 kyu
Sum of all numbers with the same digits (performance edition)
386
tonylicoding
1 Issue Reported
Performance
Permutations
Fundamentals
6 kyu
Number Zoo Patrol
6,226
shawkinsl
Algorithms
Performance
Mathematics
8 kyu
Count Odd Numbers below n
55,982
kodejuice
1 Issue Reported
Performance
Mathematics
5 kyu
Reversed Self Power
180
raulbc777
2 Issues Reported
Fundamentals
Mathematics
Algorithms
Performance
5 kyu
Maximum subarray sum
83,567
knotman90
3 Issues Reported
Algorithms
Lists
Dynamic Programming
Fundamentals
Performance
6 kyu
Possibilities of throwing a coin n times
1,117
gerardet46
2 Issues Reported
Mathematics
Statistics
Permutations
Performance
4 kyu
Largest Numeric Palindrome
667
qaiken
1 Issue Reported
Algorithms
Performance
Beta
Guess the (prime) number, digit by digit
33
macambira
1 Issue Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
5 kyu
Mathematics
Performance
6 kyu
Summation Triangle #3
103
groskowski
Mathematics
Performance
6 kyu
Fibofamily #1
120
groskowski
Mathematics
Performance
6 kyu
Summation Triangle #2
238
groskowski
Mathematics
Performance
5 kyu
Palindrome integer composition
337
KenKamau
Performance
Algorithms
4 kyu
Spinning Rings - Fidget Spinner Edition
262
Voile
Performance
3 kyu
Upside-Down Numbers - Challenge Edition
405
docgunthrop
1 Issue Reported
Performance
Algorithms
7 kyu
Subcuboids
425
MattSchmitz
Mathematics
Puzzles
Performance
7 kyu
Summation Triangle #1
791
groskowski
Mathematics
Performance
6 kyu
Simple sum of pairs
1,014
KenKamau
3 Issues Reported
Fundamentals
Performance
7 kyu
Centered pentagonal number:
1,141
abdul07
1 Issue Reported
Performance
Logic
Fundamentals
1 kyu
Faberge easter eggs crush test [linear]
1,670
ice1000
Performance
Algorithms
Mathematics
Loading...
Confirm
Collect:
undefined
Loading collection data...