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
9
Arrays
2
Data Science
1
Data Structures
1
Fundamentals
45
Geometry
3
Lists
1
Logic
2
Mathematics
45
Number Theory
1
Performance
1
Permutations
1
Puzzles
2
Statistics
1
Strings
2
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
45 Kata Found
8 kyu
Even or Odd
562,079
suuuzi
Mathematics
Fundamentals
8 kyu
Volume of a Cuboid
118,683
user5196477
Geometry
Fundamentals
Mathematics
8 kyu
Keep Hydrated!
232,649
paulrichard
Algorithms
Mathematics
Fundamentals
6 kyu
Playing with digits
144,385
g964
3 Issues Reported
Fundamentals
Mathematics
5 kyu
Which x for that sum?
2,782
g964
1 Issue Reported
Fundamentals
Mathematics
5 kyu
Weird prime generator
722
g964
2 Issues Reported
Fundamentals
Mathematics
6 kyu
Tortoise racing
32,566
g964
Fundamentals
Mathematics
Algorithms
6 kyu
Statistics for an Athletic Association
11,099
g964
2 Issues Reported
Fundamentals
Strings
Statistics
Mathematics
Data Science
6 kyu
PI approximation
5,742
g964
2 Issues Reported
Arrays
Mathematics
Fundamentals
6 kyu
Moduli number system
2,090
g964
3 Issues Reported
Fundamentals
Mathematics
6 kyu
Integers: Recreation Two
965
g964
2 Issues Reported
Fundamentals
Mathematics
Puzzles
5 kyu
Is my friend cheating?
18,163
g964
7 Issues Reported
Fundamentals
Mathematics
Puzzles
6 kyu
Floating-point Approximation (I)
1,476
g964
Fundamentals
Mathematics
5 kyu
Diophantine Equation
4,868
g964
2 Issues Reported
Fundamentals
Mathematics
Algebra
7 kyu
Over The Road
16,349
rge123
Fundamentals
Mathematics
Performance
6 kyu
Braking well
3,197
g964
1 Issue Reported
Fundamentals
Mathematics
6 kyu
A Rule of Divisibility by 13
16,077
g964
2 Issues Reported
Fundamentals
Algorithms
Mathematics
6 kyu
1/n- Cycle
2,663
g964
1 Issue Reported
Fundamentals
Mathematics
7 kyu
Strong Number (Special Numbers Series #2)
13,179
MrZizoScream
Fundamentals
Mathematics
4 kyu
How many numbers III?
4,506
raulbc777
4 Issues Reported
Fundamentals
Data Structures
Algorithms
Mathematics
Logic
6 kyu
8 inch pizza equivalence
943
kingcobra
1 Issue Reported
Geometry
Mathematics
Fundamentals
7 kyu
Jumping Number (Special Numbers Series #4)
8,820
MrZizoScream
9 Issues Reported
Fundamentals
Mathematics
7 kyu
Special Number (Special Numbers Series #5)
9,835
MrZizoScream
2 Issues Reported
Fundamentals
Mathematics
8 kyu
Century From Year
219,079
MrZizoScream
Fundamentals
Mathematics
7 kyu
Disarium Number (Special Numbers Series #3)
10,071
MrZizoScream
1 Issue Reported
Fundamentals
Mathematics
6 kyu
Financing a purchase
933
g964
Fundamentals
Mathematics
6 kyu
Basics 08: Find next higher number with same Bits (1's)
3,867
smile67
1 Issue Reported
Fundamentals
Mathematics
Algorithms
5 kyu
Help your granny!
4,287
g964
3 Issues Reported
Fundamentals
Mathematics
6 kyu
Calculate the area of a regular n sides polygon inside a circle of radius r
4,628
Chrono79
3 Issues Reported
Mathematics
Geometry
Fundamentals
6 kyu
Fold an array
11,407
user5036852
Fundamentals
Logic
Mathematics
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...