Implement gridRingSafe
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C
- Stars
- 6.5k
- Forks
- 627
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 6
Description
This would be a safe version of hexRing/gridRingUnsafe. Could be based on kRingDistances, dropping all entries before distance k.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing hexRing, gridRingUnsafe, and kRingDistances implementations. Compare how the safe ring should relate to those functions, then verify that entries before distance k are excluded and that the resulting grid ring matches the requested safe behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100