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
7
Arrays
2
Data Structures
1
Fundamentals
4
Games
1
Logic
15
Mathematics
6
Performance
1
Puzzles
15
Restricted
1
Riddles
2
Sorting
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
15 Kata Found
6 kyu
Even Odd Pattern #1
739
debri
1 Issue Reported
Logic
Arrays
Mathematics
Puzzles
6 kyu
Calculate Pyramid Height
1,711
ecocode
Logic
Mathematics
Puzzles
Fundamentals
7 kyu
MOD 256 without the MOD operator
3,264
user5036852
3 Issues Reported
Algorithms
Fundamentals
Logic
Mathematics
Restricted
Puzzles
6 kyu
For whom the Bell tolls
737
Kees de Vreugd
Algorithms
Logic
Puzzles
6 kyu
Find the missed number
513
kodejuice
1 Issue Reported
Mathematics
Puzzles
Algorithms
Logic
5 kyu
Find heavy ball - level: master
1,753
tiriana
Puzzles
Logic
Riddles
6 kyu
Find heavy ball - level: conqueror
1,052
tiriana
Puzzles
Logic
7 kyu
Find heavy ball - level: novice
1,549
tiriana
Puzzles
Logic
Riddles
6 kyu
Zeros and Ones
811
kodejuice
Puzzles
Logic
Algorithms
6 kyu
Back and Forth: How Many for Each Side?
125
LanXnHn
Puzzles
Logic
Algorithms
Performance
7 kyu
Transforming Chess Piece Puzzle
144
benjaminzwhite
1 Issue Reported
Puzzles
Games
Logic
6 kyu
Tracking Sums in a Process
485
raulbc777
3 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Sorting
Puzzles
2 kyu
Gerrymander Solver
322
docgunthrop
Puzzles
Logic
Algorithms
6 kyu
Disgruntled Employee
935
user5854572
Logic
Mathematics
Sorting
Arrays
Puzzles
7 kyu
Back to the Future?
329
Jocode
Puzzles
Logic
Fundamentals
Confirm
Collect:
undefined
Loading collection data...