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
Algebra
1
Algorithms
148
Arrays
19
Binary
5
Bits
2
Ciphers
2
Combinatorics
2
Cryptography
3
Data Science
1
Data Structures
7
Date Time
4
Dynamic Programming
1
Esoteric Languages
4
Functional Programming
1
Fundamentals
24
Games
3
Geometry
2
Graph Theory
2
Interpreters
5
Linear Algebra
1
Linked Lists
7
Lists
4
Logic
5
Mathematics
45
Matrix
2
Networks
1
Number Theory
2
Object-oriented Programming
1
Parsing
2
Performance
2
Probability
1
Puzzles
4
Recursion
3
Regular Expressions
3
Security
1
Sorting
5
Statistics
1
Strings
27
Tutorials
4
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
148 Kata Found
6 kyu
Split Strings
166,897
jhoffner
Regular Expressions
Strings
Algorithms
6 kyu
Sum of Digits / Digital Root
288,493
user578387
3 Issues Reported
Mathematics
Algorithms
5 kyu
int32 to IPv4
28,161
sahglie
Networks
Bits
Algorithms
8 kyu
Count the Monkeys!
72,697
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
6 kyu
A Fun Way of Finding Pythagorean Triples
292
brodiemark
Geometry
Mathematics
Algorithms
6 kyu
Two Sets of Equal Sum
1,287
brodiemark
Arrays
Algorithms
5 kyu
Square Matrix Multiplication
7,726
xDranik
1 Issue Reported
Matrix
Linear Algebra
Algorithms
6 kyu
Find the unique number
152,912
isqua
4 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
8 kyu
BASIC: Making Six Toast.
16,884
user3186707
Algorithms
8 kyu
Keep Hydrated!
231,895
paulrichard
Algorithms
Mathematics
Fundamentals
6 kyu
Roman Numerals Decoder
50,763
jhoffner
5 Issues Reported
Algorithms
5 kyu
RGB To Hex Conversion
139,575
jhoffner
Algorithms
4 kyu
Human readable duration format
86,363
davazp
5 Issues Reported
Strings
Date Time
Algorithms
6 kyu
Decode the Morse code
120,885
jolaf
11 Issues Reported
Algorithms
5 kyu
Two levels arrays
873
Lioda
2 Issues Reported
Arrays
Algorithms
5 kyu
k-Primes
3,105
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
5 kyu
Weight for weight
56,675
g964
2 Issues Reported
Algorithms
4 kyu
Twice linear
24,230
g964
Mathematics
Algorithms
6 kyu
Tortoise racing
32,528
g964
Fundamentals
Mathematics
Algorithms
4 kyu
Sum by Factors
20,022
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
6 kyu
Playing with passphrases
11,860
g964
4 Issues Reported
Strings
Algorithms
5 kyu
Perimeter of squares in a rectangle
43,524
g964
3 Issues Reported
Mathematics
Algorithms
6 kyu
Moves in squared strings (IV)
1,605
g964
1 Issue Reported
Algorithms
Strings
5 kyu
Integers: Recreation One
27,152
g964
1 Issue Reported
Fundamentals
Algorithms
6 kyu
Hidden "Cubic" numbers
3,183
g964
3 Issues Reported
Algorithms
Strings
4 kyu
Getting along with Integer Partitions
3,618
g964
3 Issues Reported
Fundamentals
Algorithms
6 kyu
Does my number look big in this?
183,200
JulianNicholls
3 Issues Reported
Algorithms
6 kyu
Financing Plan on Planet XY140Z-n
4,882
g964
3 Issues Reported
Mathematics
Algorithms
5 kyu
Fibo akin
1,990
g964
4 Issues Reported
Algorithms
Recursion
7 kyu
Numbers with this digit inside
5,589
user5036852
3 Issues Reported
Mathematics
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...