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
12
Arrays
5
Data Structures
2
Discrete Mathematics
1
Functional Programming
1
Fundamentals
13
Games
4
Lists
1
Logic
6
Mathematics
44
Matrix
1
Number Theory
2
Performance
3
Puzzles
44
Recursion
2
Restricted
2
Sorting
2
Strings
5
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
44 Kata Found
7 kyu
Consecutive Digits To Form Sum
2,908
MrZizoScream
1 Issue Reported
Fundamentals
Mathematics
Puzzles
7 kyu
Perimeter sequence
13,966
@m1ll
Mathematics
Puzzles
6 kyu
Integers: Recreation Two
965
g964
2 Issues Reported
Fundamentals
Mathematics
Puzzles
7 kyu
nth Floyd line
1,120
kodejuice
Mathematics
Puzzles
Fundamentals
5 kyu
Is my friend cheating?
18,167
g964
7 Issues Reported
Fundamentals
Mathematics
Puzzles
6 kyu
Bouncing Balls
93,789
g964
1 Issue Reported
Puzzles
Algorithms
Mathematics
6 kyu
Corner circle
968
@m1ll
1 Issue Reported
Mathematics
Puzzles
6 kyu
Disguised sequences (II)
687
g964
1 Issue Reported
Puzzles
Discrete Mathematics
Mathematics
6 kyu
Progressive Spiral Number Branch
240
GiacomoSorbi
1 Issue Reported
Mathematics
Number Theory
Puzzles
8 kyu
Pole Vault Starting Marks
4,564
HerrWert
2 Issues Reported
Fundamentals
Mathematics
Puzzles
6 kyu
Magic Zeckendorf
224
IVBakker
2 Issues Reported
Mathematics
Puzzles
5 kyu
Ratio of Bouncy Numbers
314
cave.on
Mathematics
Puzzles
6 kyu
Even Odd Pattern #1
739
debri
1 Issue Reported
Logic
Arrays
Mathematics
Puzzles
7 kyu
Subcuboids
425
MattSchmitz
Mathematics
Puzzles
Performance
6 kyu
Custom Christmas Tree III: the center of leaves
102
myjinxin2015
Puzzles
Strings
Mathematics
Fundamentals
6 kyu
Calculate Pyramid Height
1,712
ecocode
Logic
Mathematics
Puzzles
Fundamentals
2 kyu
6 By 6 Skyscrapers
2,526
FrankK
4 Issues Reported
Mathematics
Puzzles
Games
Arrays
Matrix
Algorithms
6 kyu
Hanoi record
2,971
Bugari
1 Issue Reported
Fundamentals
Algorithms
Mathematics
Puzzles
7 kyu
MOD 256 without the MOD operator
3,264
user5036852
3 Issues Reported
Algorithms
Fundamentals
Logic
Mathematics
Restricted
Puzzles
6 kyu
Sequences and Series
6,312
BattleRattle
3 Issues Reported
Mathematics
Algorithms
Puzzles
7 kyu
The wheat/rice and chessboard problem
9,316
GiacomoSorbi
Mathematics
Recursion
Puzzles
8 kyu
Get Nth Even Number
38,062
kodejuice
Mathematics
Puzzles
Algorithms
6 kyu
Shortest steps to a number
4,059
bdowds
1 Issue Reported
Puzzles
Mathematics
Fundamentals
Games
8 kyu
Simple Fun #1: Seats in Theater
23,557
myjinxin2015
3 Issues Reported
Puzzles
Mathematics
Beta
Missing numbers in leading digits of perfect square sequences
48
drchangliu
Status:
Testing & feedback needed
Estimated Rank:
4 kyu
Mathematics
Puzzles
Fundamentals
6 kyu
High-Stakes Binary Blackjack
17
ajLapid718
Puzzles
Mathematics
Strings
Games
8 kyu
Never visit a . . . !?
20,352
aryan-firouzian
1 Issue Reported
Puzzles
Strings
Number Theory
Mathematics
6 kyu
Find the missed number
513
kodejuice
1 Issue Reported
Mathematics
Puzzles
Algorithms
Logic
7 kyu
Simple reversal game
669
KenKamau
Puzzles
Mathematics
2 kyu
Insane Coloured Triangles
3,980
Bubbler
1 Issue Reported
Puzzles
Performance
Mathematics
Loading...
Confirm
Collect:
undefined
Loading collection data...