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
13
Binary Trees
1
Combinatorics
4
Cryptography
1
Data Structures
5
Dynamic Programming
5
Fundamentals
18
Games
1
Geometry
1
Linked Lists
1
Lists
2
Logic
1
Machine Learning
5
Mathematics
22
Memoization
2
Number Theory
8
Performance
60
Permutations
1
Puzzles
6
Recursion
3
Sorting
4
Strings
4
Trees
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
60 Kata Found
6 kyu
Not prime numbers
1,525
riyakayal
Fundamentals
Performance
Algorithms
6 kyu
Change Machine
400
Lordnibbler
6 Issues Reported
Algorithms
Performance
6 kyu
Find the unique number
153,996
isqua
4 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
7 kyu
The Poet And The Pendulum
4,838
MrZizoScream
4 Issues Reported
Fundamentals
Arrays
Algorithms
Performance
5 kyu
Following Sierpinski's Footprints
56
raulbc777
Algorithms
Performance
Number Theory
Fundamentals
5 kyu
Almost Isosceles Integer Triangles With Their Angles With Asymptotic Tendency
71
raulbc777
Algorithms
Performance
Number Theory
Recursion
Geometry
Fundamentals
6 kyu
Allergy to Palindromes.
474
raulbc777
Fundamentals
Algorithms
Mathematics
Performance
Permutations
6 kyu
Pentabonacci
2,199
raulbc777
4 Issues Reported
Fundamentals
Mathematics
Algorithms
Performance
Dynamic Programming
5 kyu
The Primes as a Result of the Longest Consecutive Sum I
194
raulbc777
Performance
Algorithms
Mathematics
Data Structures
Arrays
Fundamentals
6 kyu
Number Zoo Patrol
6,236
shawkinsl
Algorithms
Performance
Mathematics
5 kyu
Reversed Self Power
182
raulbc777
2 Issues Reported
Fundamentals
Mathematics
Algorithms
Performance
5 kyu
Maximum subarray sum
84,060
knotman90
3 Issues Reported
Algorithms
Lists
Dynamic Programming
Fundamentals
Performance
4 kyu
Largest Numeric Palindrome
671
qaiken
1 Issue Reported
Algorithms
Performance
5 kyu
Palindrome integer composition
338
KenKamau
Performance
Algorithms
3 kyu
Upside-Down Numbers - Challenge Edition
411
docgunthrop
1 Issue Reported
Performance
Algorithms
1 kyu
Faberge easter eggs crush test [linear]
1,684
ice1000
Performance
Algorithms
Mathematics
3 kyu
Fabergé Easter Eggs crush test
1,956
Ivana
8 Issues Reported
Mathematics
Dynamic Programming
Performance
Algorithms
1 kyu
7×7 Skyscrapers
2,096
JohanWiltink
1 Issue Reported
Algorithms
Games
Performance
4 kyu
Longest Common Subsequence (Performance version)
2,557
JohanWiltink
Performance
Strings
Dynamic Programming
Memoization
Algorithms
1 kyu
BECOME IMMORTAL
3,242
Voile
Puzzles
Dynamic Programming
Performance
Algorithms
6 kyu
Numericals of a String
3,627
Jomopipi
Puzzles
Performance
Algorithms
6 kyu
Row of the odd triangle
3,921
shikyo
6 Issues Reported
Algorithms
Performance
4 kyu
Sort binary tree by levels
14,394
kars7e
1 Issue Reported
Trees
Binary Trees
Performance
Algorithms
Sorting
5 kyu
Can you get the loop ?
29,576
Devouring
11 Issues Reported
Algorithms
Linked Lists
Performance
6 kyu
Sums of Parts
25,516
g964
Fundamentals
Performance
Algorithms
6 kyu
Shuffle It Up II
80
raulbc777
Algorithms
Performance
Number Theory
Recursion
Fundamentals
4 kyu
Sum of Intervals
40,724
xDranik
Algorithms
Performance
5 kyu
Scramblies
57,964
joh_pot
6 Issues Reported
Strings
Performance
Algorithms
5 kyu
Card Game
659
tonylicoding
Mathematics
Algorithms
Performance
5 kyu
Equivalent Dice
148
raulbc777
1 Issue Reported
Algorithms
Performance
Number Theory
Recursion
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...