Swift Track Management

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

Students
29,067
Submissions
474,385
Mentoring Discussions
3,479

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
6,769 learnt
Bo
Booleans
3,326 learnt
Nu
Numbers
3,755 learnt
Ch
Characters and Strings
3,145 learnt
Es
Escaping functions
2,185 learnt
Hi
Higher Order Functions
2,185 learnt
Co
Conditionals
2,423 learnt
Te
Ternary operator
2,423 learnt
Ar
Arrays
1,878 learnt
Ra
Ranges
467 learnt
fo
for loops
415 learnt
Tu
Tuples
1,569 learnt
Op
Optionals
1,310 learnt
Co
Conditionals Switch
889 learnt
Co
Control transfer
889 learnt
Wh
While and repeat loops
889 learnt
Ca
Capturing
703 learnt
Cl
Closures
703 learnt
Sh
Shorthand arguments
703 learnt
Tr
Trailing closures
703 learnt
Di
Dictionaries
863 learnt
Im
Importing
849 learnt
St
String Indexing
849 learnt
St
String Methods
849 learnt
De
Default Parameters
1,087 learnt
Fu
Function Overloading
1,087 learnt
In
Inout Parameters
1,087 learnt
Mu
Multiple Return Values
1,087 learnt
Ne
Nested Functions
1,087 learnt
Va
Variadic Parameters
1,087 learnt
Me
Methods
699 learnt
Se
Self
699 learnt
St
Structs And Classes
699 learnt
Va
Value and reference types
699 learnt
En
Enumerations
616 learnt
18 active learning exercises
Started
Attempts
Completions
Mentoring requests
Layers of Lasagna Layers of Lasagna
9,836
53,496 (avg. 5.4)
6,769 (68.8%)
100 (1.0%)
Wings Quest Wings Quest
3,845
16,575 (avg. 4.3)
3,326 (86.5%)
43 (1.1%)
Freelancer Rates Freelancer Rates
4,846
56,884 (avg. 11.7)
3,755 (77.5%)
56 (1.2%)
Cal's Custom Sign Shop Cal's Custom Sign Shop
3,605
30,770 (avg. 8.5)
3,145 (87.2%)
20 (0.6%)
Secret Agent Double-Null0111 Secret Agent Double-Null0111
2,724
12,415 (avg. 4.6)
2,185 (80.2%)
25 (0.9%)
Vexing Vehicle Purchase Vexing Vehicle Purchase
2,965
29,192 (avg. 9.8)
2,423 (81.7%)
38 (1.3%)
Magician-in-Training Magician-in-Training
2,146
26,247 (avg. 12.2)
1,878 (87.5%)
31 (1.4%)
ChessBoard ChessBoard
515
2,887 (avg. 5.6)
467 (90.7%)
2 (0.4%)
Bird Watcher Bird Watcher
461
2,226 (avg. 4.8)
415 (90.0%)
5 (1.1%)
Santa's Swifty Helper Santa's Swifty Helper
1,654
7,077 (avg. 4.3)
1,569 (94.9%)
10 (0.6%)
Slice Sizing Slice Sizing
1,484
19,211 (avg. 12.9)
1,310 (88.3%)
34 (2.3%)
Expert Mixologist Expert Mixologist
1,062
13,498 (avg. 12.7)
889 (83.7%)
18 (1.7%)
Double-Null0111: Closures Are Forever Double-Null0111: Closures Are Forever
819
5,770 (avg. 7.0)
703 (85.8%)
8 (1.0%)
High Score Board High Score Board
944
6,223 (avg. 6.6)
863 (91.4%)
7 (0.7%)
The 1st Rule of Poetry Club The 1st Rule of Poetry Club
958
9,642 (avg. 10.1)
849 (88.6%)
10 (1.0%)
Lasagna Master Lasagna Master
1,185
10,417 (avg. 8.8)
1,087 (91.7%)
20 (1.7%)
Windowing System Windowing System
825
9,294 (avg. 11.3)
699 (84.7%)
13 (1.6%)
Log Lines Log Lines
667
2,642 (avg. 4.0)
616 (92.4%)
2 (0.3%)

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: a0e8e9ef7453d4010e123c6af8e1fb296eafad43 (Updates should be instant)

Next goal: Implement 139 practice exercises. Find out more.
98 active practice exercises
Started
Attempts
Completions
Mentoring requests
Hello World Hello World
21,400
45,476 (avg. 2.1)
15,481 (72.3%)
16 (0.1%)
Difference of Squares Difference of Squares
2,559
9,455 (avg. 3.7)
1,688 (66.0%)
230 (9.0%)
Gigasecond Gigasecond
2,194
4,108 (avg. 1.9)
1,503 (68.5%)
277 (12.6%)
Leap Leap
3,114
7,098 (avg. 2.3)
2,607 (83.7%)
585 (18.8%)
RNA Transcription RNA Transcription
1,455
3,713 (avg. 2.6)
1,203 (82.7%)
157 (10.8%)
Space Age Space Age
1,163
2,750 (avg. 2.4)
964 (82.9%)
95 (8.2%)
Sum of Multiples Sum of Multiples
1,239
3,695 (avg. 3.0)
1,011 (81.6%)
123 (9.9%)
Two Fer Two Fer
2,496
4,518 (avg. 1.8)
1,982 (79.4%)
921 (36.9%)
Reverse String Reverse String
397
1,234 (avg. 3.1)
327 (82.4%)
4 (1.0%)
Resistor Color Resistor Color
114
526 (avg. 4.6)
93 (81.6%)
2 (1.8%)
Darts Darts
184
622 (avg. 3.4)
143 (77.7%)
4 (2.2%)
Bob Bob
1,078
4,180 (avg. 3.9)
889 (82.5%)
87 (8.1%)
ETL ETL
850
1,639 (avg. 1.9)
739 (86.9%)
19 (2.2%)
Armstrong Numbers Armstrong Numbers
147
723 (avg. 4.9)
126 (85.7%)
3 (2.0%)
Grade School Grade School
825
2,810 (avg. 3.4)
654 (79.3%)
27 (3.3%)
Grains Grains
801
2,922 (avg. 3.6)
670 (83.6%)
61 (7.6%)
Hamming Hamming
969
2,321 (avg. 2.4)
884 (91.2%)
76 (7.8%)
Isogram Isogram
700
1,701 (avg. 2.4)
593 (84.7%)
17 (2.4%)
List Ops List Ops
726
5,425 (avg. 7.5)
511 (70.4%)
15 (2.1%)
Nucleotide Count Nucleotide Count
1,114
2,558 (avg. 2.3)
843 (75.7%)
64 (5.7%)
Raindrops Raindrops
843
1,750 (avg. 2.1)
723 (85.8%)
32 (3.8%)
Resistor Color Duo Resistor Color Duo
72
196 (avg. 2.7)
56 (77.8%)
4 (5.6%)
High Scores High Scores
75
215 (avg. 2.9)
60 (80.0%)
0 (0.0%)
D&D Character D&D Character
38
93 (avg. 2.4)
29 (76.3%)
0 (0.0%)
Square Root Square Root
35
72 (avg. 2.1)
28 (80.0%)
0 (0.0%)
Binary Search Binary Search
450
1,247 (avg. 2.8)
337 (74.9%)
3 (0.7%)
Circular Buffer Circular Buffer
342
1,655 (avg. 4.8)
243 (71.1%)
3 (0.9%)
Clock Clock
542
1,783 (avg. 3.3)
417 (76.9%)
12 (2.2%)
Collatz Conjecture Collatz Conjecture
359
927 (avg. 2.6)
304 (84.7%)
4 (1.1%)
Diamond Diamond
317
938 (avg. 3.0)
232 (73.2%)
1 (0.3%)
Flatten Array Flatten Array
379
1,153 (avg. 3.0)
295 (77.8%)
7 (1.8%)
ISBN Verifier ISBN Verifier
318
1,081 (avg. 3.4)
244 (76.7%)
6 (1.9%)
Kindergarten Garden Kindergarten Garden
378
922 (avg. 2.4)
308 (81.5%)
5 (1.3%)
Perfect Numbers Perfect Numbers
387
1,225 (avg. 3.2)
329 (85.0%)
7 (1.8%)
Phone Number Phone Number
531
1,966 (avg. 3.7)
442 (83.2%)
10 (1.9%)
Protein Translation Protein Translation
302
1,140 (avg. 3.8)
230 (76.2%)
5 (1.7%)
Proverb Proverb
255
785 (avg. 3.1)
202 (79.2%)
5 (2.0%)
Queen Attack Queen Attack
363
901 (avg. 2.5)
302 (83.2%)
7 (1.9%)
Robot Name Robot Name
517
1,081 (avg. 2.1)
414 (80.1%)
7 (1.4%)
Robot Simulator Robot Simulator
357
894 (avg. 2.5)
279 (78.2%)
10 (2.8%)
Scrabble Score Scrabble Score
493
1,243 (avg. 2.5)
424 (86.0%)
6 (1.2%)
Secret Handshake Secret Handshake
292
525 (avg. 1.8)
237 (81.2%)
1 (0.3%)
Sieve Sieve
345
797 (avg. 2.3)
288 (83.5%)
2 (0.6%)
Strain Strain
351
523 (avg. 1.5)
287 (81.8%)
2 (0.6%)
Sublist Sublist
296
877 (avg. 3.0)
221 (74.7%)
4 (1.4%)
Triangle Triangle
520
1,426 (avg. 2.7)
435 (83.7%)
6 (1.2%)
Bottle Song Bottle Song
119
670 (avg. 5.6)
72 (60.5%)
2 (1.7%)
Resistor Color Trio Resistor Color Trio
50
132 (avg. 2.6)
38 (76.0%)
1 (2.0%)
Yacht Yacht
24
80 (avg. 3.3)
17 (70.8%)
0 (0.0%)
Acronym Acronym
413
1,498 (avg. 3.6)
270 (65.4%)
8 (1.9%)
All Your Base All Your Base
280
931 (avg. 3.3)
182 (65.0%)
3 (1.1%)
Allergies Allergies
417
1,087 (avg. 2.6)
307 (73.6%)
9 (2.2%)
Anagram Anagram
446
1,227 (avg. 2.8)
376 (84.3%)
13 (2.9%)
House House
200
523 (avg. 2.6)
143 (71.5%)
1 (0.5%)
Largest Series Product Largest Series Product
218
738 (avg. 3.4)
163 (74.8%)
6 (2.8%)
Matrix Matrix
262
499 (avg. 1.9)
191 (72.9%)
0 (0.0%)
Meetup Meetup
232
533 (avg. 2.3)
147 (63.4%)
2 (0.9%)
Pangram Pangram
237
521 (avg. 2.2)
183 (77.2%)
4 (1.7%)
Pascal's Triangle Pascal's Triangle
204
384 (avg. 1.9)
146 (71.6%)
1 (0.5%)
Prime Factors Prime Factors
207
387 (avg. 1.9)
160 (77.3%)
3 (1.4%)
Pythagorean Triplet Pythagorean Triplet
199
617 (avg. 3.1)
141 (70.9%)
3 (1.5%)
Rotational Cipher Rotational Cipher
153
443 (avg. 2.9)
112 (73.2%)
2 (1.3%)
Saddle Points Saddle Points
162
520 (avg. 3.2)
118 (72.8%)
2 (1.2%)
Say Say
125
398 (avg. 3.2)
79 (63.2%)
1 (0.8%)
Series Series
231
568 (avg. 2.5)
172 (74.5%)
1 (0.4%)
Simple Linked List Simple Linked List
236
716 (avg. 3.0)
161 (68.2%)
0 (0.0%)
Twelve Days Twelve Days
243
446 (avg. 1.8)
181 (74.5%)
1 (0.4%)
Word Count Word Count
552
988 (avg. 1.8)
438 (79.3%)
13 (2.4%)
Atbash Cipher Atbash Cipher
136
500 (avg. 3.7)
106 (77.9%)
1 (0.7%)
Binary Search Tree Binary Search Tree
194
802 (avg. 4.1)
135 (69.6%)
3 (1.5%)
Crypto Square Crypto Square
131
497 (avg. 3.8)
94 (71.8%)
0 (0.0%)
Custom Set Custom Set
162
447 (avg. 2.8)
101 (62.3%)
4 (2.5%)
Food Chain Food Chain
108
233 (avg. 2.2)
73 (67.6%)
0 (0.0%)
Knapsack Knapsack
45
165 (avg. 3.7)
29 (64.4%)
0 (0.0%)
Linked List Linked List
176
468 (avg. 2.7)
120 (68.2%)
6 (3.4%)
Luhn Luhn
157
569 (avg. 3.6)
116 (73.9%)
5 (3.2%)
OCR Numbers OCR Numbers
117
278 (avg. 2.4)
74 (63.2%)
2 (1.7%)
Roman Numerals Roman Numerals
180
464 (avg. 2.6)
130 (72.2%)
3 (1.7%)
Run-Length Encoding Run-Length Encoding
134
372 (avg. 2.8)
95 (70.9%)
1 (0.7%)
Simple Cipher Simple Cipher
119
308 (avg. 2.6)
78 (65.5%)
0 (0.0%)
Rail Fence Cipher Rail Fence Cipher
22
40 (avg. 1.8)
17 (77.3%)
0 (0.0%)
Spiral Matrix Spiral Matrix
22
37 (avg. 1.7)
18 (81.8%)
0 (0.0%)
Word Search Word Search
23
156 (avg. 6.8)
17 (73.9%)
0 (0.0%)
Conway's Game of Life Conway's Game of Life
20
34 (avg. 1.7)
14 (70.0%)
0 (0.0%)
Affine Cipher Affine Cipher
16
19 (avg. 1.2)
11 (68.8%)
0 (0.0%)
Bowling Bowling
129
389 (avg. 3.0)
71 (55.0%)
0 (0.0%)
Complex Numbers Complex Numbers
106
289 (avg. 2.7)
66 (62.3%)
1 (0.9%)
Nth Prime Nth Prime
150
412 (avg. 2.7)
106 (70.7%)
1 (0.7%)
Palindrome Products Palindrome Products
117
556 (avg. 4.8)
78 (66.7%)
0 (0.0%)
Pig Latin Pig Latin
119
319 (avg. 2.7)
75 (63.0%)
2 (1.7%)
Tournament Tournament
116
436 (avg. 3.8)
83 (71.6%)
2 (1.7%)
Transpose Transpose
109
388 (avg. 3.6)
69 (63.3%)
0 (0.0%)
Matching Brackets Matching Brackets
149
359 (avg. 2.4)
111 (74.5%)
1 (0.7%)
Dominoes Dominoes
113
181 (avg. 1.6)
67 (59.3%)
0 (0.0%)
Flower Field Flower Field
26
40 (avg. 1.5)
18 (69.2%)
0 (0.0%)
Wordy Wordy
147
438 (avg. 3.0)
96 (65.3%)
4 (2.7%)
SGF Parsing SGF Parsing
19
129 (avg. 6.8)
13 (68.4%)
1 (5.3%)
Poker Poker
345
507 (avg. 1.5)
77 (22.3%)
1 (0.3%)
8 deprecated practice exercises
Started
Attempts
Completions
Mentoring requests
Accumulate Accumulate
972
2,234 (avg. 2.3)
705 (72.5%)
42 (4.3%)
Beer Song Beer Song
182
256 (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%)
Minesweeper Minesweeper
122
335 (avg. 2.7)
78 (63.9%)
2 (1.6%)
Octal Octal
14
18 (avg. 1.3)
14 (100.0%)
0 (0.0%)
Scale Generator Scale Generator
179
385 (avg. 2.2)
108 (60.3%)
1 (0.6%)
Trinary Trinary
17
23 (avg. 1.4)
17 (100.0%)
0 (0.0%)
41 unimplemented practice exercises
Alphametics Alphametics
Baffling Birthdays Baffling Birthdays
Bank Account Bank Account
Book Store Book Store
Camicia Camicia
Change Change
Connect Connect
DOT DSL DOT DSL
Eliud's Eggs Eliud's Eggs
Error Handling Error Handling
Forth Forth
Go Counting Go Counting
Grep Grep
Intergalactic Transmission Intergalactic Transmission
Killer Sudoku Helper Killer Sudoku Helper
Ledger Ledger
Lens Person Lens Person
Line Up Line Up
Markdown Markdown
Micro Blog Micro Blog
PaaS I/O PaaS I/O
Parallel Letter Frequency Parallel Letter Frequency
Piecing It Together Piecing It Together
POV POV
Prism Prism
Rational Numbers Rational Numbers
React React
Rectangles Rectangles
Relative Distance Relative Distance
Resistor Color Tolerance Resistor Color Tolerance
REST API REST API
Satellite Satellite
Save the Cow Save the Cow
Split-Second Stopwatch Split-Second Stopwatch
State of Tic-Tac-Toe State of Tic-Tac-Toe
Swift Scheduling Swift Scheduling
Tree Building Tree Building
Two Bucket Two Bucket
Variable Length Quantity Variable Length Quantity
Zebra Puzzle Zebra Puzzle
Zipper Zipper

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: 4cc42185c72b243a1298d6407f9c4bf7f8a7de33 (Takes up to 10 mins to deploy)

Total Test Runner Runs
458,084
Test Run Pass Rate
18.4% (84172)
Test Run Fail Rate
22.5% (102880)
Test Run Error Rate
59.2% (271032)

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.