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
19
Arrays
58
Cellular Automata
1
Ciphers
1
Combinatorics
1
Cryptography
1
Data Structures
1
Esoteric Languages
1
Functional Programming
1
Fundamentals
34
Games
1
Graph Theory
2
Interpreters
1
Lists
11
Logic
1
Mathematics
9
Number Theory
3
Performance
2
Puzzles
2
Queues
1
Recursion
2
Refactoring
1
Regular Expressions
3
Searching
1
Security
1
Sorting
5
Strings
13
Tutorials
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
58 Kata Found
6 kyu
Find the unique number
155,382
isqua
3 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
6 kyu
English beggars
9,841
GiacomoSorbi
Queues
Arrays
Lists
Recursion
Fundamentals
8 kyu
Count the Monkeys!
74,151
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
8 kyu
Beginner - Reduce but Grow
170,493
PG1
1 Issue Reported
Fundamentals
Arrays
8 kyu
Beginner - Lost Without a Map
203,174
PG1
3 Issues Reported
Fundamentals
Arrays
8 kyu
Convert number to reversed array of digits
202,892
emporio
Arrays
Fundamentals
8 kyu
Square(n) Sum
307,739
jhoffner
1 Issue Reported
Arrays
Lists
Fundamentals
8 kyu
Sum of positive
333,722
JbPasquier
Arrays
Fundamentals
7 kyu
Partial Word Searching
8,513
obnounce
4 Issues Reported
Arrays
Strings
Fundamentals
5 kyu
Implementing Quicksort
293
brodiemark
Sorting
Recursion
Arrays
Tutorials
7 kyu
Extra Perfect Numbers (Special Numbers Series #7)
7,622
MrZizoScream
1 Issue Reported
Fundamentals
Arrays
6 kyu
Mexican Wave
74,800
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
7 kyu
The 'spiraling' box
2,000
brodiemark
1 Issue Reported
Arrays
Fundamentals
6 kyu
Flip Your Stack (of Pancakes)
550
brodiemark
Arrays
Sorting
7 kyu
Latin Squares
2,180
brodiemark
Arrays
6 kyu
Two Sets of Equal Sum
1,316
brodiemark
Arrays
Algorithms
8 kyu
You only need one - Beginner
157,863
PG1
3 Issues Reported
Fundamentals
Strings
Arrays
7 kyu
Drone Fly-By
7,172
PG1
Fundamentals
Strings
Arrays
7 kyu
Sum of Minimums!
28,815
Aizaz_Ahmad
2 Issues Reported
Fundamentals
Arrays
5 kyu
Two levels arrays
887
Lioda
2 Issues Reported
Arrays
Algorithms
4 kyu
Sum by Factors
20,214
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
6 kyu
Reducing by steps
4,524
g964
3 Issues Reported
Mathematics
Arrays
Functional Programming
Lists
Data Structures
6 kyu
PI approximation
5,765
g964
2 Issues Reported
Arrays
Mathematics
Fundamentals
7 kyu
Lost number in number sequence
10,676
evgv
1 Issue Reported
Arrays
Algorithms
7 kyu
Sum of two lowest positive integers
238,301
emporio
4 Issues Reported
Arrays
Fundamentals
6 kyu
Primorial Of a Number
7,142
MrZizoScream
2 Issues Reported
Fundamentals
Arrays
Number Theory
5 kyu
Josephus Survivor
16,950
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
6 kyu
Tribonacci Sequence
162,190
GiacomoSorbi
7 Issues Reported
Number Theory
Arrays
Lists
Fundamentals
6 kyu
Euler Squares
252
brodiemark
Algorithms
Arrays
7 kyu
How Many Streets?
487
brodiemark
Arrays
Searching
Performance
Loading...
Confirm
Collect:
undefined
Loading collection data...