About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
ziglings
yang.sh
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
ziglings
/
exercises
116 files
at
solution
yang.sh
·
backfill solutions
·
4mo ago
5feebfde
001_hello.zig
add notes
4mo ago
002_std.zig
backfill solutions
4mo ago
003_assignment.zig
backfill solutions
4mo ago
004_arrays.zig
backfill solutions
4mo ago
005_arrays2.zig
backfill solutions
4mo ago
006_strings.zig
backfill solutions
4mo ago
007_strings2.zig
add solutions through 014
4mo ago
008_quiz.zig
add solutions through 014
4mo ago
009_if.zig
add solutions through 014
4mo ago
010_if2.zig
add solutions through 014
4mo ago
011_while.zig
add solutions through 014
4mo ago
012_while2.zig
add solutions through 014
4mo ago
013_while3.zig
add solutions through 014
4mo ago
014_while4.zig
add solutions through 014
4mo ago
015_for.zig
add notes
4mo ago
016_for2.zig
add notes
4mo ago
017_quiz2.zig
add notes
4mo ago
018_functions.zig
add notes
4mo ago
019_functions2.zig
add notes
4mo ago
020_quiz3.zig
add notes
4mo ago
021_errors.zig
add notes
4mo ago
022_errors2.zig
add notes
4mo ago
023_errors3.zig
add notes
4mo ago
024_errors4.zig
add notes
4mo ago
025_errors5.zig
add notes
4mo ago
026_hello2.zig
add notes
4mo ago
027_defer.zig
add notes
4mo ago
028_defer2.zig
fixup! Add another defer exercise
5mo ago
029_errdefer.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
030_switch.zig
"999 is enough for anybody" triple-zero padding (#18)
5y ago
031_switch2.zig
var to const when posssible
3y ago
032_unreachable.zig
"999 is enough for anybody" triple-zero padding (#18)
5y ago
033_iferror.zig
fix: typos
1y ago
034_quiz4.zig
I/O improvements
10mo ago
035_enums.zig
"999 is enough for anybody" triple-zero padding (#18)
5y ago
036_enums2.zig
Update outdated comments
3y ago
037_structs.zig
changed struct name 'class' into 'role'
3y ago
038_structs2.zig
changed struct name 'class' into 'role'
3y ago
039_pointers.zig
add commas
8mo ago
040_pointers2.zig
added expalantion for const pointer
6mo ago
041_pointers3.zig
"999 is enough for anybody" triple-zero padding (#18)
5y ago
042_pointers4.zig
Update 042_pointers4.zig
3y ago
043_pointers5.zig
Fixed typo: "you will wish" -> "you wish"
5mo ago
044_quiz5.zig
"999 is enough for anybody" triple-zero padding (#18)
5y ago
045_optionals.zig
var to const when posssible
3y ago
046_optionals2.zig
Deleted unnecessary pointer.
2y ago
047_methods.zig
expanded explanation about self vs *self
5mo ago
048_methods2.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
049_quiz6.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
050_no_value.zig
fix: oops
8mo ago
051_values.zig
051: add a comma
6mo ago
052_slices.zig
Update 052_slices.zig
5y ago
053_slices2.zig
zig fmt
5y ago
054_manypointers.zig
Introduce syntax for turning a many pointer to a slice
3y ago
055_unions.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
056_unions2.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
057_unions3.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
058_quiz7.zig
fixed removed array multiplication
6mo ago
059_integers.zig
Fixed unicode literal
2y ago
060_floats.zig
adjusted comment to zig 0.16
6mo ago
061_coercions.zig
remove redundant word "a"
4y ago
062_loop_expressions.zig
fix loop else clause explanation
4y ago
063_labels.zig
dev.1711 - switched to multi-object-for-loops
3y ago
064_builtins.zig
Fix two minor typos
3y ago
065_builtins2.zig
fix comment `field_types` is a slice of (strings -> types)
5mo ago
066_comptime.zig
description specified
3y ago
067_comptime2.zig
fixed removed array multiplication
6mo ago
068_comptime3.zig
fix 068_comptime3 comment to 'std.Io.Writer.print'
8mo ago
069_comptime4.zig
Revised exercises due to the changes of Zig version 0.11.0-dev.3853
3y ago
070_comptime5.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
071_comptime6.zig
Fix 071_comptime6.zig because of new build system
5mo ago
072_comptime7.zig
Converted var to const if there is no mutation in var. This is checked from compiler version 0.12.0-dev.1664
3y ago
073_comptime8.zig
fix whitespace line-endings
5y ago
074_comptime9.zig
fixed removed array multiplication
6mo ago
075_quiz8.zig
fixed removed array multiplication
6mo ago
076_sentinels.zig
Fixes several changes in std.builtin.zig
2y ago
077_sentinels2.zig
zig fmt
5y ago
078_sentinels3.zig
Update 078_sentinels3.zig
3y ago
079_quoted_identifiers.zig
Remove trailing whitespace.
4y ago
080_anonymous_structs.zig
080: Fix @typeName results in comment
1y ago
081_anonymous_structs2.zig
Fix exercises 058 and 081 :wrench:
5y ago
082_anonymous_structs3.zig
Fix 082_anonymous_structs3.zig because of new build system
5mo ago
083_anonymous_lists.zig
Ensure the exercises use the canonical format
3y ago
084_interfaces.zig
improved report design
7mo ago
085_async.zig
improvements for async-io
7mo ago
086_async2.zig
improvements for async-io
7mo ago
087_async3.zig
improvements for async-io
7mo ago
088_async4.zig
improvements for async-io
7mo ago
089_async5.zig
improvements for async-io
7mo ago
090_async6.zig
improvements for async-io
7mo ago
091_async7.zig
demonstrate the benefit of the mutex
7mo ago
092_async8.zig
added async-io quiz
7mo ago
093_async9.zig
fixed merge conflict
7mo ago
094_async10.zig
improvements for async-io
7mo ago
095_quiz_async.zig
095_quiz_async: Add missing Bug 4
7mo ago
096_hello_c.zig
Insert space for additional async exercises
7mo ago
097_c_math.zig
Insert space for additional async exercises
7mo ago
098_for3.zig
Insert space for additional async exercises
7mo ago
099_memory_allocation.zig
Insert space for additional async exercises
7mo ago
100_bit_manipulation.zig
fix: move exercise 100 celebration comment to the right file
7mo ago
101_bit_manipulation2.zig
Insert space for additional async exercises
7mo ago
102_formatting.zig
Fix formatting reference link
7mo ago
103_for4.zig
fix: move exercise 100 celebration comment to the right file
7mo ago
104_for5.zig
Insert space for additional async exercises
7mo ago
105_testing.zig
Insert space for additional async exercises
7mo ago
106_tokenization.zig
fix typos
5mo ago
107_threading.zig
Fix misleading comments
4mo ago
108_threading2.zig
removed weird characters
4mo ago
109_files.zig
Remove prefilled solution
4mo ago
110_files2.zig
fix removed array multiplication
5mo ago
111_labeled_switch.zig
Insert space for additional async exercises
7mo ago
112_vectors.zig
Refresh 005_arrays2 exercise
4mo ago
113_quiz9.zig
Fixed a couple of exercise references as they are no longer accurate after the recent changes
5mo ago
114_packed.zig
Merge pull request 'Fixed a couple of exercise references as they are no longer accurate after the recent changes' (#457) from killyosaur/zigling-exercises:fixing-exercise-references into main
5mo ago
115_packed2.zig
fixed description
5mo ago
999_the_end.zig
changed 'the_end' to '999_the_end'
3y ago