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
23
Arrays
3
Combinatorics
6
Data Structures
2
Fundamentals
16
Geometry
1
Lists
2
Logic
1
Machine Learning
4
Mathematics
19
Memoization
1
Number Theory
39
Performance
8
Permutations
3
Puzzles
4
Recursion
3
Regular Expressions
1
Strings
4
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
39 Kata Found
6 kyu
Goldbach's Conjecture
619
rsalgado
Algorithms
Number Theory
6 kyu
Fibonacci, Tribonacci and friends
13,779
GiacomoSorbi
13 Issues Reported
Arrays
Lists
Number Theory
Fundamentals
6 kyu
Collatz
5,261
trent.armstrong
Number Theory
Algorithms
5 kyu
Sorting Arrays by the Amount of Perfect Squares that Each Element May Generate
486
raulbc777
1 Issue Reported
Algorithms
Mathematics
Number Theory
Permutations
5 kyu
Generate Numbers From Digits #2
110
raulbc777
Fundamentals
Logic
Strings
Data Structures
Algorithms
Mathematics
Number Theory
Permutations
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
5 kyu
k-Primes
3,105
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
6 kyu
Steps in k-primes
956
g964
2 Issues Reported
Mathematics
Number Theory
6 kyu
Steps in Primes
6,781
g964
1 Issue Reported
Mathematics
Number Theory
6 kyu
Ulam Sequences
256
erdos2n
Number Theory
Mathematics
Algorithms
4 kyu
Total increasing or decreasing numbers up to a power of 10
2,022
GiacomoSorbi
Number Theory
Combinatorics
Puzzles
7 kyu
Triple Shiftian Numbers
881
GiacomoSorbi
1 Issue Reported
Number Theory
Fundamentals
7 kyu
Smooth numbers
1,277
GiacomoSorbi
Number Theory
6 kyu
Simple Fun #146: Chandos Number
392
myjinxin2015
Algorithms
Number Theory
7 kyu
Self-Descriptive Numbers
849
RichAWarren
1 Issue Reported
Fundamentals
Mathematics
Number Theory
6 kyu
Primorial Of a Number
7,086
MrZizoScream
2 Issues Reported
Fundamentals
Arrays
Number Theory
7 kyu
Progressive Spiral Number Position
1,711
GiacomoSorbi
Mathematics
Number Theory
Fundamentals
6 kyu
Progressive Spiral Number Distance
245
GiacomoSorbi
1 Issue Reported
Mathematics
Number Theory
Fundamentals
6 kyu
Progressive Spiral Number Branch
240
GiacomoSorbi
1 Issue Reported
Mathematics
Number Theory
Puzzles
4 kyu
Polydivisible Numbers
635
ChristianECooper
2 Issues Reported
Number Theory
Algorithms
6 kyu
Tribonacci Sequence
160,758
GiacomoSorbi
7 Issues Reported
Number Theory
Arrays
Lists
Fundamentals
6 kyu
Is Divisible By 6 Mk II
318
GiacomoSorbi
Permutations
Strings
Combinatorics
Number Theory
Fundamentals
6 kyu
# Counting 1: I Want Some Subsets, Not All!
310
raulbc777
1 Issue Reported
Number Theory
Fundamentals
4 kyu
Binary multiple of 3
7,647
rsalgado
3 Issues Reported
Regular Expressions
Algorithms
Puzzles
Number Theory
4 kyu
Hamming Numbers
12,368
xcthulhu
4 Issues Reported
Number Theory
Algorithms
6 kyu
Shuffle It Up II
80
raulbc777
Algorithms
Performance
Number Theory
Recursion
Fundamentals
7 kyu
Count the divisors of a number
76,999
tiriana
2 Issues Reported
Number Theory
Mathematics
Fundamentals
8 kyu
Never visit a . . . !?
20,344
aryan-firouzian
1 Issue Reported
Puzzles
Strings
Number Theory
Mathematics
5 kyu
Equivalent Dice
147
raulbc777
1 Issue Reported
Algorithms
Performance
Number Theory
Recursion
Fundamentals
Loading...
Confirm
Collect:
undefined
Loading collection data...