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
10
Arrays
17
Binary
1
Bits
1
Data Structures
3
Fundamentals
6
Games
2
Lists
1
Logic
17
Mathematics
4
Puzzles
2
Sorting
2
Strings
3
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
17 Kata Found
6 kyu
Get Password from grid
771
kodejuice
Logic
Arrays
Algorithms
Data Structures
7 kyu
Determine if the poker hand is flush
6,248
CodingWarrior
1 Issue Reported
Arrays
Algorithms
Logic
Strings
Games
7 kyu
sum2total
1,304
debri
Logic
Mathematics
Arrays
Lists
Fundamentals
6 kyu
String Suffixes
1,263
debri
Strings
Logic
Arrays
Algorithms
6 kyu
Selective Array Reversing
2,287
kodejuice
1 Issue Reported
Algorithms
Logic
Arrays
6 kyu
Remember
1,298
debri
2 Issues Reported
Logic
Strings
Arrays
Algorithms
6 kyu
Reducing by rules to get the result
1,460
user5036852
Arrays
Logic
Algorithms
6 kyu
Even Odd Pattern #1
739
debri
1 Issue Reported
Logic
Arrays
Mathematics
Puzzles
6 kyu
Split all even numbers to odd ones in different ways
480
user5036852
1 Issue Reported
Arrays
Logic
Algorithms
3 kyu
Make a spiral
15,184
Bugari
1 Issue Reported
Algorithms
Arrays
Logic
6 kyu
Sorting by bits
9,405
kodejuice
Logic
Arrays
Algorithms
Data Structures
Fundamentals
Bits
Binary
Sorting
5 kyu
A Man and his Umbrellas
1,821
mattlub
Logic
Arrays
Fundamentals
6 kyu
Traverse array elements diagonally
601
kodejuice
1 Issue Reported
Arrays
Logic
Algorithms
6 kyu
Prime ant
378
kodejuice
Mathematics
Logic
Arrays
Games
Fundamentals
6 kyu
Disgruntled Employee
935
user5854572
Logic
Mathematics
Sorting
Arrays
Puzzles
6 kyu
Custom FizzBuzz Array
3,673
ogryzek
3 Issues Reported
Arrays
Logic
Fundamentals
6 kyu
Get all array elements except those with specified indexes
512
int3_0xcc
2 Issues Reported
Data Structures
Arrays
Logic
Fundamentals
Confirm
Collect:
undefined
Loading collection data...