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
24
Arrays
4
Ciphers
1
Cryptography
1
Data Structures
1
Date Time
1
Fundamentals
24
Lists
1
Logic
2
Mathematics
9
Performance
1
Regular Expressions
1
Security
1
Sorting
1
Strings
5
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
24 Kata Found
8 kyu
Count the Monkeys!
72,712
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
6 kyu
Find the unique number
152,929
isqua
4 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
8 kyu
Keep Hydrated!
231,918
paulrichard
Algorithms
Mathematics
Fundamentals
6 kyu
Tortoise racing
32,530
g964
Fundamentals
Mathematics
Algorithms
5 kyu
Integers: Recreation One
27,153
g964
1 Issue Reported
Fundamentals
Algorithms
4 kyu
Getting along with Integer Partitions
3,618
g964
3 Issues Reported
Fundamentals
Algorithms
6 kyu
A Rule of Divisibility by 13
16,052
g964
2 Issues Reported
Fundamentals
Algorithms
Mathematics
4 kyu
How many numbers III?
4,485
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
6 kyu
The latest clock
2,885
nirgn
Date Time
Fundamentals
Algorithms
7 kyu
Moves in squared strings (I)
14,107
g964
Fundamentals
Algorithms
Strings
6 kyu
Basics 08: Find next higher number with same Bits (1's)
3,867
smile67
1 Issue Reported
Fundamentals
Mathematics
Algorithms
6 kyu
Fold an array
11,389
user5036852
Fundamentals
Logic
Mathematics
Algorithms
6 kyu
Character with longest consecutive repetition
11,808
suic
Strings
Fundamentals
Algorithms
7 kyu
Sort Out The Men From Boys
10,809
MrZizoScream
2 Issues Reported
Fundamentals
Algorithms
Sorting
5 kyu
Common Denominators
15,168
g964
4 Issues Reported
Fundamentals
Algorithms
Mathematics
6 kyu
Encrypt this!
23,545
suic
Fundamentals
Strings
Regular Expressions
Arrays
Ciphers
Algorithms
Cryptography
Security
6 kyu
Help the bookseller !
30,833
g964
6 Issues Reported
Fundamentals
Algorithms
6 kyu
CamelCase Method
47,154
bestwebua
11 Issues Reported
Fundamentals
Algorithms
Strings
6 kyu
Write Number in Expanded Form
84,004
Belax8
Strings
Mathematics
Algorithms
Fundamentals
6 kyu
Two Sum
87,501
wthit56
12 Issues Reported
Arrays
Fundamentals
Algorithms
7 kyu
Euclidean distance in n dimensions
1,796
kingcobra
Mathematics
Algorithms
Fundamentals
6 kyu
Doors in the school
2,699
eqlion
3 Issues Reported
Fundamentals
Algorithms
8 kyu
Expressions Matter
58,966
MrZizoScream
1 Issue Reported
Algorithms
Fundamentals
7 kyu
Minimum Perimeter of a Rectangle
1,236
Kinto
Fundamentals
Algorithms
Confirm
Collect:
undefined
Loading collection data...