Kata Library
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
Binary
1
Bits
1
Databases
4
Date Time
1
Debugging
4
Design Patterns
1
Dynamic Programming
1
Fundamentals
8
Games
3
Geometry
1
Interpreters
1
Lists
1
Macros
1
Mathematics
6
Memoization
3
Metaprogramming
2
Object-oriented Programming
8
Parsing
1
Performance
2
Probability
1
Puzzles
4
Recursion
1
Refactoring
59
Restricted
5
SQL
5
Strings
3
Trees
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
59 Kata Found
7 kyu
Time Converter: hours, minutes, seconds and milliseconds
1,160
srMarquinho
Date Time
Parsing
Refactoring
7 kyu
Balance the parentheses
792
SJFx
Refactoring
7 kyu
One line task: Square a number Without *, + or Math.pow()
371
Firefly2002
Refactoring
Mathematics
Games
Restricted
Puzzles
7 kyu
[BUG] XCOM-388: Mass spectrometer crashes
170
hobovsky
Debugging
Refactoring
7 kyu
Refactored Greeting
12,061
jhoffner
2 Issues Reported
Object-oriented Programming
Refactoring
5 kyu
Scytale encoder/decoder (ancient Spartans cipher)
103
lucky3
Fundamentals
Algorithms
Refactoring
5 kyu
Refactor a node-based calculator (DRY)
130
FArekkusu
Refactoring
Object-oriented Programming
Restricted
6 kyu
One line task: Multiples of 3 and 5
170
Firefly2002
Mathematics
Games
Refactoring
Algorithms
Restricted
Puzzles
6 kyu
One line task: Square Every Digit
1,130
Firefly2002
Puzzles
Games
Restricted
Refactoring
8 kyu
Be Concise I - The Ternary Operator
8,308
donaldsebleung
3 Issues Reported
Fundamentals
Refactoring
7 kyu
Rigged Dice
984
Scopula
Probability
Refactoring
7 kyu
Bug fix: Is this component visible?
105
dfhwze
Refactoring
Trees
Object-oriented Programming
4 kyu
Next bigger number with the same digits
39,554
GiacomoSorbi
5 Issues Reported
Strings
Refactoring
6 kyu
Refactor out a switch-statement using polymorphism
189
dibley1973
5 Issues Reported
Fundamentals
Refactoring
2 kyu
Power tower modulo m
345
ecolban
1 Issue Reported
Refactoring
7 kyu
Playing with cubes III
469
Jotha
2 Issues Reported
Mathematics
Refactoring
2 kyu
Assembler interpreter (part II)
2,780
ShinuToki
3 Issues Reported
Interpreters
Refactoring
8 kyu
Well of Ideas - Easy Version
36,492
PG1
4 Issues Reported
Fundamentals
Arrays
Strings
Refactoring
6 kyu
Which are in?
82,892
g964
7 Issues Reported
Arrays
Lists
Strings
Refactoring
8 kyu
Is n divisible by x and y?
131,036
naaz
1 Issue Reported
Refactoring
6 kyu
One Line : Bit Calculator
166
dke
Fundamentals
Refactoring
4 kyu
N Linear
524
coryshrmn
Algorithms
Mathematics
Refactoring
8 kyu
Be Concise IV - Index of an element in an array
8,472
donaldsebleung
4 Issues Reported
Refactoring
4 kyu
Memoized Log Cutting
1,517
AlejandorLazaro
Dynamic Programming
Memoization
Refactoring
7 kyu
Working with arrays I (and why your code fails in some katas)
5,194
Chrono79
1 Issue Reported
Fundamentals
Arrays
Refactoring
6 kyu
Refactoring SQL Queries: part 2 (Pagination Disaster)
126
bornForThis
SQL
Databases
Refactoring
5 kyu
Paginating a huge book
1,849
hexafraction
Performance
Refactoring
6 kyu
Surviving the Bloody Enterprise: A Time-Travel Adventure with Running Totals
59
bornForThis
SQL
Databases
Restricted
Refactoring
7 kyu
Correcting an SQL Query : Unexpected Data Inflation and Null Value Anomalies
199
bornForThis
SQL
Databases
Refactoring
7 kyu
Static privacy
280
trashy_incel
Debugging
Object-oriented Programming
Refactoring
Loading...
Confirm
Collect:
undefined
Loading collection data...