Skip to content

Add palindrome-products exercise - #521

Open
keiravillekode wants to merge 1 commit into
exercism:mainfrom
keiravillekode:palindrome-products-3
Open

Add palindrome-products exercise#521
keiravillekode wants to merge 1 commit into
exercism:mainfrom
keiravillekode:palindrome-products-3

Conversation

@keiravillekode

Copy link
Copy Markdown
Contributor

No description provided.

@keiravillekode

keiravillekode commented Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

I added two extra test cases at the end, with large search ranges, and with the leading digit known: min * min and max * max have the same number of digits, and the same leading digit.

Students will need to chose a suitable sort order.

They might also notice that the leading digit is known, hence the trailing digit is known, speeding up the search by a factor of 10.

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.

2 participants