Skip to content

Add solution for Challenge 17 by JoQCorreia#1895

Merged
github-actions[bot] merged 2 commits into
RezaSi:mainfrom
JoQCorreia:challenge-17-JoQCorreia
Jul 17, 2026
Merged

Add solution for Challenge 17 by JoQCorreia#1895
github-actions[bot] merged 2 commits into
RezaSi:mainfrom
JoQCorreia:challenge-17-JoQCorreia

Conversation

@JoQCorreia

Copy link
Copy Markdown
Contributor

Challenge 17 Solution

Submitted by: @JoQCorreia
Challenge: Challenge 17

Description

This PR contains my solution for Challenge 17.

Changes

  • Added solution file to challenge-17/submissions/JoQCorreia/solution-template.go

Testing

  • Solution passes all test cases
  • Code follows Go best practices

Thank you for reviewing my submission! 🚀

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: abedc149-e29f-4bd1-ae8f-b241dcdb2af7

📥 Commits

Reviewing files that changed from the base of the PR and between edc79d0 and e843032.

📒 Files selected for processing (1)
  • challenge-17/submissions/JoQCorreia/solution-template.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • challenge-17/submissions/JoQCorreia/solution-template.go

Walkthrough

Adds a Go CLI that reads a string and reports whether it is a palindrome. The exported helper performs Unicode-aware, case-insensitive normalization before comparing characters from both ends.

Changes

Palindrome solution

Layer / File(s) Summary
CLI and palindrome logic
challenge-17/submissions/JoQCorreia/solution-template.go
The CLI reads a line from stdin and prints the palindrome result. IsPalindrome lowercases input, removes non-letter and non-number runes, treats empty normalized input as a palindrome, and compares mirrored runes.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Poem

I’m a bunny with a string to inspect,
Cleaned and flipped, it earns my respect.
Letters hop in, symbols hop out,
Matching ends leave no doubt.
“Palindrome!” I cheer with delight—
A perfect loop from left to right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding JoQCorreia's Challenge 17 solution.
Description check ✅ Passed The description matches the changeset and describes the Challenge 17 solution submission.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies"


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
challenge-17/submissions/JoQCorreia/solution-template.go (1)

50-50: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Remove the redundant continue statement.

A continue statement at the very end of a for loop body has no effect and can be safely removed to improve readability.

♻️ Proposed fix
-		continue

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bda8a339-b9e5-408f-a731-1639e9cc2c65

📥 Commits

Reviewing files that changed from the base of the PR and between 6c8f735 and edc79d0.

📒 Files selected for processing (1)
  • challenge-17/submissions/JoQCorreia/solution-template.go

Comment thread challenge-17/submissions/JoQCorreia/solution-template.go Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@github-actions
github-actions Bot merged commit 3319dad into RezaSi:main Jul 17, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Auto-merged!

This PR was automatically merged after 2 days with all checks passing.

Thank you for your contribution, @JoQCorreia!

📊 Scoreboards and badges will be updated shortly.

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