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
10
Algorithms
116
Arrays
25
Combinatorics
3
Data Science
2
Data Structures
69
Date Time
1
Dynamic Programming
4
Functional Programming
1
Fundamentals
305
Games
3
Geometry
23
Language Features
1
Linear Algebra
4
Lists
5
Logic
43
Mathematics
305
Matrix
6
Memoization
8
Number Theory
6
Object-oriented Programming
2
Parsing
1
Performance
11
Permutations
6
Puzzles
13
Recursion
6
Regular Expressions
3
Restricted
3
Searching
1
Security
1
Sorting
13
Statistics
1
Strings
37
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
305 Kata Found
7 kyu
Currency Conversion
1,104
ajLapid718
Fundamentals
Mathematics
Algebra
6 kyu
Cut me in Pieces but in The Way I Like
186
raulbc777
Fundamentals
Algorithms
Mathematics
6 kyu
Hyper Sphere
2,283
CrowdHailer
Mathematics
Arrays
Fundamentals
8 kyu
Even or Odd
562,139
suuuzi
Mathematics
Fundamentals
6 kyu
Most Consecutive Zeros of a Binary Number
727
ajLapid718
1 Issue Reported
Fundamentals
Mathematics
Strings
7 kyu
Katastrophe!
3,705
jackcarlisle
3 Issues Reported
Mathematics
Fundamentals
6 kyu
Cat Kata, Part 1
1,634
tachyonlabs
Mathematics
Fundamentals
6 kyu
Help Kiyo きよ solve her problems LCM Fun!
496
user8476848
Algorithms
Data Structures
Mathematics
Fundamentals
6 kyu
Surrounding Primes for a value
1,989
raulbc777
3 Issues Reported
Fundamentals
Mathematics
7 kyu
Operations With Sets
1,687
raulbc777
1 Issue Reported
Fundamentals
Data Structures
Mathematics
7 kyu
Numbers Which Sum of Powers of Its Digits Is The Same Number
3,218
raulbc777
2 Issues Reported
Fundamentals
Mathematics
Data Structures
6 kyu
A Combinatorial Way to Get Products and Sums of an Array
194
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Data Structures
Algorithms
7 kyu
Sort rectangles and circles by area II
2,861
JohanWiltink
Fundamentals
Algorithms
Sorting
Mathematics
Geometry
7 kyu
Stacked Balls - 3D (triangle base)
778
dinglemouse
Mathematics
Fundamentals
7 kyu
Nice Array
7,014
aweleshetu
2 Issues Reported
Arrays
Mathematics
Fundamentals
7 kyu
Consecutive Digits To Form Sum
2,907
MrZizoScream
1 Issue Reported
Fundamentals
Mathematics
Puzzles
5 kyu
Sum and Rest the Number with its Reversed and See What Happens
1,381
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Algorithms
Memoization
Dynamic Programming
7 kyu
You're a square!
289,950
bkaes
Fundamentals
Mathematics
7 kyu
Boxlines
905
AndyKhang404
2 Issues Reported
Fundamentals
Geometry
Mathematics
6 kyu
Something similar to RokuLiuYeoseot- Nacci
194
raulbc777
1 Issue Reported
Fundamentals
Mathematics
Recursion
6 kyu
Selecting Quotients From an Array
275
raulbc777
1 Issue Reported
Fundamentals
Data Structures
Algorithms
Sorting
Mathematics
Logic
6 kyu
Paths in the Grid
942
aryan-firouzian
Fundamentals
Mathematics
6 kyu
Get the Sum of Multiples of Triangular Numbers
428
raulbc777
Fundamentals
Mathematics
7 kyu
How long will it take the train to reach its final destination?
585
Madeleinel
Mathematics
Fundamentals
6 kyu
Find a Bunch of Common Elements of Two Lists in a Certain Range
911
raulbc777
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Strings
8 kyu
Volume of a Cuboid
118,698
user5196477
Geometry
Fundamentals
Mathematics
7 kyu
Adding words - Part I
1,869
osofem
Mathematics
Fundamentals
5 kyu
Working With Coloured Numbers
395
raulbc777
2 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Strings
Recursion
Dynamic Programming
6 kyu
Triangle of Multiples (Easy One)
770
raulbc777
3 Issues Reported
Mathematics
Data Structures
Fundamentals
7 kyu
Total Sums of Coefficients of a Binomial Raised to the Nth-Power
378
raulbc777
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Loading...
Confirm
Collect:
undefined
Loading collection data...