hello-algo
hello-algo copied to clipboard
add zig code for chapter_computational_complexity (Zig Version 0.10.0)
If this PR is related to coding or code translation, please fill out the checklist.
- [x] I've tested the code and ensured the outputs are the same as the outputs of reference codes.
- [x] I've checked the codes (formatting, comments, indentation, file header, etc) carefully.
- [x] The code does not rely on a particular environment or IDE and can be executed on a standard system (Win, macOS, Ubuntu).
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
Name | Status | Preview | Updated |
---|---|---|---|
hello-algo | ⬜️ Ignored (Inspect) | Dec 30, 2022 at 2:47PM (UTC) |
Thanks for the clean code!
Could you paste the output of the code to this PR? Because I don't write Zig and can not run it.
No problem!
The output of time_complexity.zig as shown below.
The output of worst_best_time_complexity.zig as shown below.
Thanks, @sjinzh! I'm wondering if you will continue to add the zig codes because it is difficult to find other zig coders.
Yes, i will.