Skip to content

darts: compare reference with squared distance approach (R58-T026) - #79

Open
Adityasoni888 wants to merge 1 commit into
S-AI-Projects:mainfrom
Adityasoni888:student/e26b07f0730/R58-T026
Open

Adityasoni888 wants to merge 1 commit into
S-AI-Projects:mainfrom
Adityasoni888:student/e26b07f0730/R58-T026

Conversation

@Adityasoni888

Copy link
Copy Markdown

Hi! This is my 6th task (R58-T026) for the darts exercise.

Here is what I did:

  • Compared the maintained reference implementation (Math.sqrt and Math.pow) with an alternative squared-distance approach ($x^2 + y^2 \le r^2$).
  • Added approach selection documentation and a worked example for coordinates (-3.5, 3.5) in .docs/hints.md.
  • Documented trade-offs in docs/maintenance/darts.md.
  • Implemented and ran work/R58-T026/check.py: both implementations pass all 13 test cases with 100% agreement, and the learner starter stub remains unsolved.

Please review. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant