Swift Track Management

This page provides the Exercism community with the information and tools needed to manage the Swift track.

Students
20,081
Submissions
230,196
Mentoring Discussions
3,087

The Swift track needs attention ⚠️

Building

Swift syllabus

Learn More

Help create the track syllabus: is a set of concepts and learning exercises put together to teach foundational elements of the programming language.

Next goal: Create a complete syllabus with at least 40 concepts. Find out more.
35 concepts being taught
Ba
Basics
3,196 learnt
Bo
Booleans
510 learnt
Nu
Numbers
1,629 learnt
Ch
Characters and Strings
1,490 learnt
Es
Escaping functions
998 learnt
Hi
Higher Order Functions
998 learnt
Co
Conditionals
1,108 learnt
Te
Ternary operator
1,108 learnt
Ar
Arrays
757 learnt
Tu
Tuples
662 learnt
Op
Optionals
530 learnt
Co
Control transfer
363 learnt
fo
for loops
363 learnt
Lo
Loops
363 learnt
re
repeat while
363 learnt
wh
while loops
363 learnt
Ca
Capturing
275 learnt
Cl
Closures
275 learnt
Sh
Shorthand arguments
275 learnt
Tr
Trailing closures
275 learnt
Di
Dictionaries
369 learnt
Im
Importing
344 learnt
St
String Components
344 learnt
St
String Indexing
344 learnt
De
Default Parameters
484 learnt
Fu
Function Overloading
484 learnt
In
Inout Parameters
484 learnt
Mu
Multiple Return Values
484 learnt
Ne
Nested Functions
484 learnt
Va
Variadic Parameters
484 learnt
Me
Methods
279 learnt
Se
Self
279 learnt
St
Structs And Classes
279 learnt
Va
Value and reference types
279 learnt
En
Enumerations
246 learnt
16 active learning exercises
Started
Attempts
Completions
Mentoring requests
Layers of Lasagna Layers of Lasagna
4,740
27,959 (avg. 5.9)
3,196 (67.4%)
41 (0.9%)
Wings Quest Wings Quest
584
3,040 (avg. 5.2)
510 (87.3%)
11 (1.9%)
Freelancer Rates Freelancer Rates
2,216
29,415 (avg. 13.3)
1,629 (73.5%)
24 (1.1%)
Cal's Custom Sign Shop Cal's Custom Sign Shop
1,741
15,044 (avg. 8.6)
1,490 (85.6%)
7 (0.4%)
Secret Agent Double-Null0111 Secret Agent Double-Null0111
1,243
5,879 (avg. 4.7)
998 (80.3%)
13 (1.0%)
Vexing Vehicle Purchase Vexing Vehicle Purchase
1,491
15,973 (avg. 10.7)
1,108 (74.3%)
18 (1.2%)
Magician-in-Training Magician-in-Training
872
12,131 (avg. 13.9)
757 (86.8%)
14 (1.6%)
Santa's Swifty Helper Santa's Swifty Helper
684
2,472 (avg. 3.6)
662 (96.8%)
4 (0.6%)
Slice Sizing Slice Sizing
595
7,805 (avg. 13.1)
530 (89.1%)
16 (2.7%)
Master Mixologist Master Mixologist
411
4,788 (avg. 11.6)
363 (88.3%)
9 (2.2%)
Double-Null0111: Closures Are Forever Double-Null0111: Closures Are Forever
314
2,253 (avg. 7.2)
275 (87.6%)
7 (2.2%)
High Score Board High Score Board
396
2,474 (avg. 6.2)
369 (93.2%)
3 (0.8%)
The 1st Rule of Poetry Club The 1st Rule of Poetry Club
391
4,003 (avg. 10.2)
344 (88.0%)
5 (1.3%)
Lasagna Master Lasagna Master
525
4,304 (avg. 8.2)
484 (92.2%)
11 (2.1%)
Windowing System Windowing System
316
3,670 (avg. 11.6)
279 (88.3%)
4 (1.3%)
Log Lines Log Lines
255
1,080 (avg. 4.2)
246 (96.5%)
2 (0.8%)

Practice Exercises

Learn More

Practice Exercises are exercises designed to allow students to solve an arbitrary problem, with the aim of them making use of the concepts they have learned so far.

Synced primary repo: 16750b48cea72d71dd7714557989050d0086ef3d (Updates should be instant)

Next goal: Implement 130 practice exercises. Find out more.
83 active practice exercises
Started
Attempts
Completions
Mentoring requests
Hello World Hello World
12,201
27,417 (avg. 2.2)
9,103 (74.6%)
16 (0.1%)
Difference of Squares Difference of Squares
1,752
5,290 (avg. 3.0)
1,175 (67.1%)
215 (12.3%)
Gigasecond Gigasecond
1,740
3,108 (avg. 1.8)
1,171 (67.3%)
272 (15.6%)
Leap Leap
2,649
4,934 (avg. 1.9)
2,248 (84.9%)
577 (21.8%)
RNA Transcription RNA Transcription
1,117
2,639 (avg. 2.4)
909 (81.4%)
149 (13.3%)
Space Age Space Age
824
1,423 (avg. 1.7)
709 (86.0%)
91 (11.0%)
Sum of Multiples Sum of Multiples
920
2,128 (avg. 2.3)
768 (83.5%)
114 (12.4%)
Two Fer Two Fer
2,159
3,372 (avg. 1.6)
1,696 (78.6%)
921 (42.7%)
Accumulate Accumulate
804
1,451 (avg. 1.8)
579 (72.0%)
41 (5.1%)
Bob Bob
806
2,178 (avg. 2.7)
691 (85.7%)
84 (10.4%)
ETL ETL
632
1,025 (avg. 1.6)
564 (89.2%)
18 (2.8%)
Grade School Grade School
602
1,290 (avg. 2.1)
498 (82.7%)
22 (3.7%)
Grains Grains
581
1,418 (avg. 2.4)
501 (86.2%)
60 (10.3%)
Hamming Hamming
759
1,461 (avg. 1.9)
712 (93.8%)
73 (9.6%)
Isogram Isogram
483
979 (avg. 2.0)
409 (84.7%)
15 (3.1%)
List Ops List Ops
352
770 (avg. 2.2)
244 (69.3%)
11 (3.1%)
Nucleotide Count Nucleotide Count
948
1,604 (avg. 1.7)
706 (74.5%)
62 (6.5%)
Raindrops Raindrops
643
1,075 (avg. 1.7)
547 (85.1%)
30 (4.7%)
Binary Search Binary Search
281
606 (avg. 2.2)
219 (77.9%)
1 (0.4%)
Circular Buffer Circular Buffer
193
634 (avg. 3.3)
145 (75.1%)
3 (1.6%)
Clock Clock
396
883 (avg. 2.2)
311 (78.5%)
11 (2.8%)
Collatz Conjecture Collatz Conjecture
207
436 (avg. 2.1)
171 (82.6%)
4 (1.9%)
Diamond Diamond
198
516 (avg. 2.6)
146 (73.7%)
1 (0.5%)
Flatten Array Flatten Array
241
633 (avg. 2.6)
188 (78.0%)
6 (2.5%)
ISBN Verifier ISBN Verifier
197
553 (avg. 2.8)
152 (77.2%)
6 (3.0%)
Kindergarten Garden Kindergarten Garden
271
420 (avg. 1.5)
220 (81.2%)
4 (1.5%)
Perfect Numbers Perfect Numbers
279
546 (avg. 2.0)
244 (87.5%)
7 (2.5%)
Phone Number Phone Number
369
1,002 (avg. 2.7)
312 (84.6%)
10 (2.7%)
Protein Translation Protein Translation
181
522 (avg. 2.9)
134 (74.0%)
2 (1.1%)
Proverb Proverb
148
336 (avg. 2.3)
113 (76.4%)
3 (2.0%)
Queen Attack Queen Attack
261
516 (avg. 2.0)
221 (84.7%)
5 (1.9%)
Robot Name Robot Name
400
687 (avg. 1.7)
331 (82.8%)
5 (1.3%)
Robot Simulator Robot Simulator
246
434 (avg. 1.8)
191 (77.6%)
8 (3.3%)
Scale Generator Scale Generator
136
249 (avg. 1.8)
76 (55.9%)
0 (0.0%)
Scrabble Score Scrabble Score
374
946 (avg. 2.5)
321 (85.8%)
6 (1.6%)
Secret Handshake Secret Handshake
200
258 (avg. 1.3)
160 (80.0%)
0 (0.0%)
Sieve Sieve
242
380 (avg. 1.6)
205 (84.7%)
1 (0.4%)
Strain Strain
257
360 (avg. 1.4)
215 (83.7%)
2 (0.8%)
Sublist Sublist
202
389 (avg. 1.9)
148 (73.3%)
1 (0.5%)
Triangle Triangle
406
966 (avg. 2.4)
348 (85.7%)
6 (1.5%)
Bottle Song Bottle Song
11
103 (avg. 9.4)
6 (54.5%)
0 (0.0%)
Acronym Acronym
238
697 (avg. 2.9)
151 (63.4%)
6 (2.5%)
All Your Base All Your Base
154
292 (avg. 1.9)
106 (68.8%)
0 (0.0%)
Allergies Allergies
294
547 (avg. 1.9)
220 (74.8%)
5 (1.7%)
Anagram Anagram
347
813 (avg. 2.3)
296 (85.3%)
9 (2.6%)
House House
124
140 (avg. 1.1)
82 (66.1%)
1 (0.8%)
Largest Series Product Largest Series Product
135
451 (avg. 3.3)
97 (71.9%)
4 (3.0%)
Matrix Matrix
168
325 (avg. 1.9)
123 (73.2%)
0 (0.0%)
Meetup Meetup
161
276 (avg. 1.7)
105 (65.2%)
1 (0.6%)
Pangram Pangram
141
316 (avg. 2.2)
108 (76.6%)
3 (2.1%)
Pascal's Triangle Pascal's Triangle
130
174 (avg. 1.3)
84 (64.6%)
1 (0.8%)
Prime Factors Prime Factors
135
191 (avg. 1.4)
98 (72.6%)
2 (1.5%)
Pythagorean Triplet Pythagorean Triplet
136
318 (avg. 2.3)
89 (65.4%)
1 (0.7%)
Rotational Cipher Rotational Cipher
96
217 (avg. 2.3)
61 (63.5%)
1 (1.0%)
Saddle Points Saddle Points
110
325 (avg. 3.0)
80 (72.7%)
2 (1.8%)
Say Say
73
158 (avg. 2.2)
39 (53.4%)
1 (1.4%)
Series Series
175
368 (avg. 2.1)
125 (71.4%)
1 (0.6%)
Simple Linked List Simple Linked List
166
252 (avg. 1.5)
116 (69.9%)
0 (0.0%)
Twelve Days Twelve Days
202
285 (avg. 1.4)
149 (73.8%)
1 (0.5%)
Word Count Word Count
491
675 (avg. 1.4)
397 (80.9%)
11 (2.2%)
Atbash Cipher Atbash Cipher
94
299 (avg. 3.2)
70 (74.5%)
1 (1.1%)
Binary Search Tree Binary Search Tree
132
580 (avg. 4.4)
85 (64.4%)
1 (0.8%)
Crypto Square Crypto Square
92
340 (avg. 3.7)
62 (67.4%)
0 (0.0%)
Custom Set Custom Set
99
247 (avg. 2.5)
62 (62.6%)
1 (1.0%)
Food Chain Food Chain
70
104 (avg. 1.5)
43 (61.4%)
0 (0.0%)
Linked List Linked List
115
231 (avg. 2.0)
78 (67.8%)
6 (5.2%)
Luhn Luhn
103
238 (avg. 2.3)
74 (71.8%)
3 (2.9%)
OCR Numbers OCR Numbers
77
177 (avg. 2.3)
47 (61.0%)
2 (2.6%)
Roman Numerals Roman Numerals
125
200 (avg. 1.6)
87 (69.6%)
2 (1.6%)
Run-Length Encoding Run-Length Encoding
90
151 (avg. 1.7)
59 (65.6%)
0 (0.0%)
Simple Cipher Simple Cipher
80
138 (avg. 1.7)
49 (61.3%)
0 (0.0%)
Bowling Bowling
84
183 (avg. 2.2)
41 (48.8%)
0 (0.0%)
Complex Numbers Complex Numbers
62
86 (avg. 1.4)
37 (59.7%)
0 (0.0%)
Nth Prime Nth Prime
104
240 (avg. 2.3)
70 (67.3%)
1 (1.0%)
Palindrome Products Palindrome Products
71
145 (avg. 2.0)
48 (67.6%)
0 (0.0%)
Pig Latin Pig Latin
77
165 (avg. 2.1)
48 (62.3%)
0 (0.0%)
Tournament Tournament
76
155 (avg. 2.0)
53 (69.7%)
1 (1.3%)
Transpose Transpose
69
118 (avg. 1.7)
41 (59.4%)
0 (0.0%)
Matching Brackets Matching Brackets
94
187 (avg. 2.0)
69 (73.4%)
1 (1.1%)
Dominoes Dominoes
75
124 (avg. 1.7)
41 (54.7%)
0 (0.0%)
Minesweeper Minesweeper
88
166 (avg. 1.9)
49 (55.7%)
1 (1.1%)
Wordy Wordy
98
254 (avg. 2.6)
62 (63.3%)
1 (1.0%)
Poker Poker
213
290 (avg. 1.4)
49 (23.0%)
0 (0.0%)
5 deprecated practice exercises
Started
Attempts
Completions
Mentoring requests
Beer Song Beer Song
182
249 (avg. 1.4)
133 (73.1%)
1 (0.5%)
Binary Binary
23
35 (avg. 1.5)
23 (100.0%)
0 (0.0%)
Hexadecimal Hexadecimal
6
6 (avg. 1.0)
6 (100.0%)
0 (0.0%)
Octal Octal
14
18 (avg. 1.3)
14 (100.0%)
0 (0.0%)
Trinary Trinary
17
23 (avg. 1.4)
17 (100.0%)
0 (0.0%)
47 unimplemented practice exercises
Affine Cipher Affine Cipher
Alphametics Alphametics
Armstrong Numbers Armstrong Numbers
Bank Account Bank Account
Book Store Book Store
Change Change
Connect Connect
D&D Character D&D Character
DOT DSL DOT DSL
Darts Darts
Eliud's Eggs Eliud's Eggs
Error Handling Error Handling
Forth Forth
Go Counting Go Counting
Grep Grep
Hangman Hangman
High Scores High Scores
Killer Sudoku Helper Killer Sudoku Helper
Knapsack Knapsack
Ledger Ledger
Lens Person Lens Person
Markdown Markdown
Micro Blog Micro Blog
POV POV
PaaS I/O PaaS I/O
Parallel Letter Frequency Parallel Letter Frequency
REST API REST API
Rail Fence Cipher Rail Fence Cipher
Rational Numbers Rational Numbers
React React
Rectangles Rectangles
Resistor Color Resistor Color
Resistor Color Duo Resistor Color Duo
Resistor Color Trio Resistor Color Trio
Reverse String Reverse String
SGF Parsing SGF Parsing
Satellite Satellite
Spiral Matrix Spiral Matrix
Square Root Square Root
State of Tic-Tac-Toe State of Tic-Tac-Toe
Tree Building Tree Building
Two Bucket Two Bucket
Variable Length Quantity Variable Length Quantity
Word Search Word Search
Yacht Yacht
Zebra Puzzle Zebra Puzzle
Zipper Zipper

Programming Tags

Learn More

Help manage the tags used to group, filter and recommend solutions, approaches and articles.

0 tags

Test Runner

Learn More

Create Test Runners that have the single responsibility of taking a solution, running all tests and returning a standardized output.

Current version: 9605f292d70e6549461c2c8709134ed726c5c082 (Takes up to 10 mins to deploy)

Total Test Runner Runs
204,549
Test Run Pass Rate
18.5% (37822)
Test Run Fail Rate
21.5% (44020)
Test Run Error Rate
60.0% (122707)

Representer

Learn More

Build a Representer: a bit of code that has the single responsibility of taking a solution and returning a normalized representation of it.

Next goal: Build a Representer. Find out more.

Analyzer

Learn More

Build an Analyzer for Swift: Exercism's analyzers automatically assess student's submissions and provide mentor-style commentary.

Next goal: Build an Analyzer. Find out more.