Skip to content

Solutions & Enhancement for Triton-Puzzles #33

@SiriusNEO

Description

@SiriusNEO

Triton-Puzzles is an incredibly valuable resource for anyone starting to learn Triton. I've thoroughly enjoyed working through the puzzles in this repository and would like to contribute back to the community by highlighting a couple of recurring points of feedback I've observed:

  • Lack of reference solutions. solution to the puzzles #23
    While test cases are provided, they may not be exhaustive—some implementations with issues might still pass. Additionally, beginners in parallel programming could benefit from having example solutions to use as a starting point or reference.

  • Some problem descriptions could be clearer. Test spec of Puzzle 9 seems to mismatch the problem setting? #27
    In particular, I noticed a few points in the descriptions of Puzzles 9, 10, and 12 that could be revised to avoid confusion.

To help those who might be facing similar challenges, I’ve attempted to address these issues in my personal fork. You can find updated problem descriptions along with reference solutions here: https://github.com/SiriusNEO/Triton-Puzzles-Lite/blob/main/puzzles_ans.py. Hope this is helpful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions