Skip to content

palindrome-products: instructions don't match function signature #1517

@sbromberger

Description

@sbromberger

Specifically:

If the largest or smallest palindrome has more than one pair of factors within the range, then return all the pairs.

But the signature of the relevant function is

pub fn palindrome_products(min: u64, max: u64) -> Option<(Palindrome, Palindrome)>

Which appears to be a single pair of the smallest and largest products.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueAn improvement or bug fix that favors new contributorshelp wantedWe need your help to improve the track! By taking on this task.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions