hello-algo icon indicating copy to clipboard operation
hello-algo copied to clipboard

add zig codes for Section 'Hash Map' and 'Linear Search'

Open coderonion opened this issue 2 years ago • 2 comments

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).

coderonion avatar Jan 13 '23 12:01 coderonion

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
hello-algo ⬜️ Ignored (Inspect) Jan 14, 2023 at 10:03AM (UTC)

vercel[bot] avatar Jan 13 '23 12:01 vercel[bot]

The output of "zig/chapter_hashing/hash_map.zig" as shown below, 未命名1673612669

The output of "zig/chapter_tree/binary_tree.zig" as shown below, 未命名1673657466

The output of "zig/chapter_searching/linear_search.zig" as shown below, 未命名1673624551

coderonion avatar Jan 13 '23 12:01 coderonion

Thanks for the PR. The output of the heap is not correct. It seems the problem of the tree printer. Please check it.

krahets avatar Jan 14 '23 09:01 krahets

Thanks for the PR. The output of the heap is not correct. It seems the problem of the tree printer. Please check it.

OK, the bug will be solved in next PR. So, i delete the Section 'Heap' in this PR.

coderonion avatar Jan 14 '23 10:01 coderonion