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
45
Arrays
6
Binary
1
Combinatorics
2
Cryptography
1
Data Structures
1
Fundamentals
9
Geometry
2
Graph Theory
1
Lists
1
Logic
4
Mathematics
45
Matrix
1
Number Theory
2
Puzzles
2
Sorting
1
Strings
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
45 Kata Found
6 kyu
Sum of Digits / Digital Root
288,485
user578387
3 Issues Reported
Mathematics
Algorithms
6 kyu
A Fun Way of Finding Pythagorean Triples
292
brodiemark
Geometry
Mathematics
Algorithms
8 kyu
Keep Hydrated!
231,892
paulrichard
Algorithms
Mathematics
Fundamentals
5 kyu
k-Primes
3,105
g964
3 Issues Reported
Number Theory
Mathematics
Algorithms
4 kyu
Twice linear
24,229
g964
Mathematics
Algorithms
6 kyu
Tortoise racing
32,527
g964
Fundamentals
Mathematics
Algorithms
4 kyu
Sum by Factors
20,022
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
5 kyu
Perimeter of squares in a rectangle
43,523
g964
3 Issues Reported
Mathematics
Algorithms
6 kyu
Financing Plan on Planet XY140Z-n
4,882
g964
3 Issues Reported
Mathematics
Algorithms
7 kyu
Numbers with this digit inside
5,589
user5036852
3 Issues Reported
Mathematics
Algorithms
6 kyu
Build a pile of Cubes
88,948
g964
2 Issues Reported
Mathematics
Algorithms
6 kyu
Bouncing Balls
93,560
g964
1 Issue Reported
Puzzles
Algorithms
Mathematics
6 kyu
Banker's Plan
5,075
g964
Mathematics
Algorithms
6 kyu
A disguised sequence (I)
4,906
g964
2 Issues Reported
Algorithms
Mathematics
6 kyu
A Rule of Divisibility by 13
16,051
g964
2 Issues Reported
Fundamentals
Algorithms
Mathematics
4 kyu
How many numbers III?
4,483
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
6 kyu
Find the missing term in an Arithmetic Progression
22,234
Coldberg
7 Issues Reported
Algorithms
Mathematics
5 kyu
Josephus Survivor
16,791
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
5 kyu
Some Egyptian fractions
2,779
g964
1 Issue Reported
Algorithms
Mathematics
6 kyu
Sorting on planet Twisted-3-7
2,889
user5036852
Mathematics
Sorting
Arrays
Algorithms
5 kyu
John and Ann sign up for Codewars
3,925
g964
Mathematics
Algorithms
6 kyu
Basics 08: Find next higher number with same Bits (1's)
3,867
smile67
1 Issue Reported
Fundamentals
Mathematics
Algorithms
3 kyu
Screen Locking Patterns
5,008
rsalgado
2 Issues Reported
Mathematics
Combinatorics
Geometry
Algorithms
Graph Theory
5 kyu
Going to zero or to infinity?
6,086
g964
4 Issues Reported
Mathematics
Algorithms
6 kyu
Triangle number check
5,509
user8012989
5 Issues Reported
Mathematics
Algorithms
4 kyu
Magnet particules in boxes
7,791
g964
1 Issue Reported
Mathematics
Matrix
Algorithms
6 kyu
Backwards Read Primes
7,437
g964
7 Issues Reported
Mathematics
Algorithms
3 kyu
Last digit of a huge number
7,886
Bodigrim
2 Issues Reported
Algorithms
Mathematics
4 kyu
Square into Squares. Protect trees!
11,255
g964
2 Issues Reported
Mathematics
Algorithms
6 kyu
Fold an array
11,389
user5036852
Fundamentals
Logic
Mathematics
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...