summaryrefslogtreecommitdiff
path: root/exercises
AgeCommit message (Collapse)Author
2025-02-14Shuttle weight fixedChris Boesch
2025-02-13fixed spelling of 'bitmask'Alexander Sisco
2025-02-13fixed formattingAlexander Sisco
2025-02-12fixed minor spelling and grammar typosAlexander Sisco
2025-02-11fixed incorrect bitmask in xor exampleAlexander Sisco
2025-02-11added header for quiz problemsAlexander Sisco
2025-02-11added blank lines between sections to make themAlexander Sisco
easier to find
2025-02-11edited the first two paragraphsAlexander Sisco
2025-02-11made some simple changes to the wording to reflectAlexander Sisco
the fact that this is a quiz
2025-02-11moved explanatory content below the broken code inAlexander Sisco
main so that the exercise functions more like a quiz
2025-02-10converted 110 to a quiz (quiz 9)Alexander Sisco
2025-02-08format fixAlexander Sisco
2025-02-04added newline between toggle and set sections toAlexander Sisco
make the expected output match
2025-02-04changed the order of the sections to improve flowAlexander Sisco
2025-02-03Suggesting a third exercise for bit manipulationAlexander Sisco
2025-01-09Merge pull request 'Use print alias in exercise 100_for4.zig' (#198) from ↵Chris Boesch
Zorgatone/ziglings-solutions:use-print-alias into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/198
2025-01-08Merge branch 'main' into mainChris Boesch
2025-01-08Update exercises/108_labeled_switch.zigchrboesch
Fixed an error in the debug statement and made the text a bit more coherent. Signed-off-by: chrboesch <chrboesch@noreply.codeberg.org>
2025-01-08Update exercises/108_labeled_switch.zigchrboesch
The sentence was slightly unclear Signed-off-by: chrboesch <chrboesch@noreply.codeberg.org>
2025-01-07Fix a typo: we need do we need to -> we need tomikkurogue
Morning delirium does not help when looking at lots of words
2025-01-07Use print alias in exercise 100_for4.zigZorgatone
2025-01-07Update: Remove the 4th branch in favour of just making that the else branchmikkurogue
Probably easier to not have an "unused" branch that returns the same as the else branch in the example. Signed-off-by: mikkurogue <mikkurogue@noreply.codeberg.org>
2025-01-04Fix typo vaild → validDavid Pape
2025-01-04Update: 108 Labeled switch example to contain default case for exhaustionmikkurogue
Update example text to give clarity on default/exhaustive case. Reasoning: The input for the example will not compile if user would want to test this for the logic of a labeled switch. Due the input not being an exhaustive input but rather "any u8 integer" (for the lack of better terminology) we need to use the else branch to indicate that the default case is handled, in this case by just emulating the '4' branch, but this could return an error.InvalidCaseProvided for example. Signed-off-by: mikkurogue <michael.lindemans@outlook.com>
2024-11-09Merge branch 'main' into fix-consistent-naming-106innerviewer
2024-11-08Deleted unnecessary pointer.Chris Boesch
2024-11-08Minor case-related changes.innerviewer
2024-11-07Added missing space after a sentence.innerviewer
2024-11-07Fixed link to format source code.Chris Boesch
2024-11-07Fixed formating, created patch file.Chris Boesch
2024-11-03removed commented solution lines in vectors exercise, added ??? into lines ↵bgthompson
instead
2024-11-03created a new exercise about vectors in zig, gave it number 109bgthompson
2024-11-02Improved maximumNarcissismChris Boesch
2024-11-02zeroRoman Frołow
2024-11-02reuse fieldsRoman Frołow
2024-10-26Rephrase instruction for clarityfactormystic
2024-09-20Minor improvements.Chris Boesch
2024-09-18improve explanantions in labeled switchNuno Mendes
2024-09-16update labeled switch to also have a break statementNuno Mendes
2024-09-15108: Add a exercise for a labeled switchNuno Mendes
2024-09-07Corrects the description of the new @typeInfo().@"struct".fieldsChris Boesch
2024-09-04Reseted the simplification for de-referencing.Chris Boesch
2024-09-02Fixes several changes in std.builtin.zigChris Boesch
2024-08-11Simplified de-referencing for clarificationChris Boesch
2024-08-11Clarification in description for ranges in loops.Chris Boesch
2024-08-04Fixed error message through a TAB in the comment, see ↵Chris Boesch
https://github.com/ziglang/zig/issues/20928
2024-06-23046: Show usage of `.?` and hint towards new solution.Alex McHugh
2024-06-12English fixes for 106_files.zigAndrew Dunbar
2024-06-12English fixes for 107_files2.zigAndrew Dunbar
2024-06-08fixed typoChris Boesch