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
5
Arrays
5
Data Structures
5
Fundamentals
15
Language Features
1
Linear Algebra
3
Logic
1
Mathematics
6
Matrix
15
Permutations
1
Searching
1
Sorting
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
15 Kata Found
7 kyu
Find sum of top-left to bottom-right diagonals
5,767
Nase00
Matrix
Arrays
Fundamentals
6 kyu
#4 Matrices: Process for a Square Matrix
364
raulbc777
Mathematics
Data Structures
Matrix
Linear Algebra
Fundamentals
6 kyu
#8 Matrices: Up and Down Sorting For Each Column
516
raulbc777
Fundamentals
Algorithms
Data Structures
Mathematics
Matrix
Sorting
7 kyu
Principal Diagonal | VS | Secondary Diagonal
2,652
CRYPTON
Fundamentals
Matrix
Algorithms
7 kyu
GCD Matrix
355
user7657844
1 Issue Reported
Matrix
Fundamentals
7 kyu
The Lazy Startup Office
2,205
Cleop
1 Issue Reported
Arrays
Matrix
Fundamentals
7 kyu
Matrix creation
3,278
Dmitry Kudla
Fundamentals
Arrays
Matrix
Linear Algebra
Mathematics
Language Features
6 kyu
#6 Matrices: How Many Matrices Do These Elements Produce?
209
raulbc777
Permutations
Matrix
Data Structures
Fundamentals
6 kyu
Matrix Rotation
485
cyril-lemaire
Matrix
Fundamentals
6 kyu
#7 Matrices: Focused on the Contour
182
raulbc777
3 Issues Reported
Matrix
Algorithms
Searching
Fundamentals
6 kyu
#10 Matrices: Creating Hankel Matrices
134
raulbc777
Fundamentals
Mathematics
Arrays
Matrix
6 kyu
Transpose of a Matrix
870
debri
4 Issues Reported
Linear Algebra
Matrix
Data Structures
Mathematics
Arrays
Fundamentals
5 kyu
#9 Matrices: Adding diagonal products
652
raulbc777
Matrix
Algorithms
Fundamentals
7 kyu
Center of the Matrix
752
user1539948
1 Issue Reported
Fundamentals
Matrix
7 kyu
#1 Matrices : Making an Alternating Sum
1,012
raulbc777
2 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
Matrix
Confirm
Collect:
undefined
Loading collection data...