Kata Library: Swift 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
4
Arrays
34
Ciphers
1
Cryptography
1
Esoteric Languages
1
Fundamentals
34
Graph Theory
2
Interpreters
1
Lists
8
Mathematics
2
Number Theory
2
Performance
1
Queues
1
Recursion
1
Regular Expressions
3
Security
1
Sorting
1
Strings
10
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
34 Kata Found
7 kyu
Partial Word Searching
8,298
obnounce
4 Issues Reported
Arrays
Strings
Fundamentals
7 kyu
Extra Perfect Numbers (Special Numbers Series #7)
7,575
MrZizoScream
1 Issue Reported
Fundamentals
Arrays
6 kyu
Mexican Wave
74,459
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
7 kyu
The 'spiraling' box
1,987
brodiemark
1 Issue Reported
Arrays
Fundamentals
8 kyu
Count the Monkeys!
73,514
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
6 kyu
Find the unique number
154,018
isqua
4 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
8 kyu
You only need one - Beginner
156,961
PG1
3 Issues Reported
Fundamentals
Strings
Arrays
7 kyu
Drone Fly-By
7,157
PG1
Fundamentals
Strings
Arrays
7 kyu
Sum of Minimums!
28,718
Aizaz_Ahmad
2 Issues Reported
Fundamentals
Arrays
8 kyu
Beginner - Lost Without a Map
201,943
PG1
3 Issues Reported
Fundamentals
Arrays
6 kyu
PI approximation
5,752
g964
2 Issues Reported
Arrays
Mathematics
Fundamentals
6 kyu
English beggars
9,630
GiacomoSorbi
1 Issue Reported
Queues
Arrays
Lists
Recursion
Fundamentals
7 kyu
Sum of two lowest positive integers
237,162
emporio
4 Issues Reported
Arrays
Fundamentals
6 kyu
Primorial Of a Number
7,116
MrZizoScream
2 Issues Reported
Fundamentals
Arrays
Number Theory
6 kyu
Tribonacci Sequence
161,599
GiacomoSorbi
7 Issues Reported
Number Theory
Arrays
Lists
Fundamentals
6 kyu
Esolang: Tick
941
user2514386
2 Issues Reported
Esoteric Languages
Interpreters
Strings
Arrays
Fundamentals
6 kyu
Street Fighter 2 - Character Selection
12,080
mmalkavian
6 Issues Reported
Arrays
Lists
Fundamentals
Graph Theory
8 kyu
Convert number to reversed array of digits
201,241
emporio
Arrays
Fundamentals
6 kyu
Encrypt this!
23,664
suic
Fundamentals
Strings
Regular Expressions
Arrays
Ciphers
Algorithms
Cryptography
Security
8 kyu
Fake Binary
156,527
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
8 kyu
Find the first non-consecutive number
68,149
thecodeite
1 Issue Reported
Arrays
Fundamentals
6 kyu
Duplicate Encoder
233,531
obnounce
3 Issues Reported
Strings
Arrays
Fundamentals
7 kyu
Sum of odd numbers
173,267
hhelwich
Arrays
Lists
Mathematics
Fundamentals
8 kyu
Sum Mixed Array
107,239
PG1
1 Issue Reported
Fundamentals
Strings
Arrays
6 kyu
Two Sum
88,340
wthit56
12 Issues Reported
Arrays
Fundamentals
Algorithms
8 kyu
Beginner - Reduce but Grow
169,382
PG1
1 Issue Reported
Fundamentals
Arrays
8 kyu
Square(n) Sum
305,774
jhoffner
1 Issue Reported
Arrays
Lists
Fundamentals
8 kyu
Sum of positive
331,910
JbPasquier
Arrays
Fundamentals
6 kyu
Dashatize it
15,316
Dragoris
Strings
Arrays
Regular Expressions
Fundamentals
7 kyu
Replace all items
3,799
wichu
3 Issues Reported
Fundamentals
Arrays
Lists
Regular Expressions
Loading...
Confirm
Collect:
undefined
Loading collection data...