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
6 kyu
Find the unique number
154,976
isqua
3 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
8 kyu
Count the Monkeys!
73,951
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
8 kyu
Keep Hydrated!
234,933
paulrichard
1 Issue Reported
Algorithms
Mathematics
Fundamentals
4 kyu
How many numbers III?
4,618
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
6 kyu
Tortoise racing
32,662
g964
Fundamentals
Mathematics
Algorithms
5 kyu
Integers: Recreation One
27,352
g964
1 Issue Reported
Fundamentals
Algorithms
4 kyu
Getting along with Integer Partitions
3,667
g964
3 Issues Reported
Fundamentals
Algorithms
6 kyu
A Rule of Divisibility by 13
16,132
g964
2 Issues Reported
Fundamentals
Algorithms
Mathematics
6 kyu
The latest clock
2,942
nirgn
Date Time
Fundamentals
Algorithms
7 kyu
Moves in squared strings (I)
14,183
g964
Fundamentals
Algorithms
Strings
6 kyu
Basics 08: Find next higher number with same Bits (1's)
3,883
smile67
1 Issue Reported
Fundamentals
Mathematics
Algorithms
6 kyu
Fold an array
11,449
user5036852
Fundamentals
Logic
Mathematics
Algorithms
6 kyu
Character with longest consecutive repetition
11,858
suic
Strings
Fundamentals
Algorithms
7 kyu
Sort Out The Men From Boys
10,879
MrZizoScream
2 Issues Reported
Fundamentals
Algorithms
Sorting
5 kyu
Common Denominators
15,256
g964
4 Issues Reported
Fundamentals
Algorithms
Mathematics
6 kyu
Encrypt this!
23,714
suic
Fundamentals
Strings
Regular Expressions
Arrays
Ciphers
Algorithms
Cryptography
Security
6 kyu
Help the bookseller !
31,124
g964
6 Issues Reported
Fundamentals
Algorithms
6 kyu
CamelCase Method
47,442
bestwebua
11 Issues Reported
Fundamentals
Algorithms
Strings
6 kyu
Write Number in Expanded Form
84,714
Belax8
Strings
Mathematics
Algorithms
Fundamentals
6 kyu
Two Sum
88,632
wthit56
12 Issues Reported
Arrays
Fundamentals
Algorithms
7 kyu
Euclidean distance in n dimensions
1,804
kingcobra
Mathematics
Algorithms
Fundamentals
6 kyu
Doors in the school
2,713
eqlion
3 Issues Reported
Fundamentals
Algorithms
8 kyu
Expressions Matter
59,472
MrZizoScream
1 Issue Reported
Algorithms
Fundamentals
7 kyu
Minimum Perimeter of a Rectangle
1,243
Kinto
Fundamentals
Algorithms
Confirm
Collect:
undefined
Loading collection data...