Skip to content

incomplete solution in 2-starting-out for rotate #12

@scottnm

Description

@scottnm

rotate's solution is rotate n l = drop n l ++ take n l

this doesn't take into account rotations larger than the length of the list.

occurrences of n should be n mod (length list)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions