Skip to content

Switch Problems 31 and 30 #68

@Dhanvanthri

Description

@Dhanvanthri

Here are the solutions that I used for 30 and 31 respectively

30:
#(map first
(partition-by identity %1))
31:
#(partition-by identity %1)

I know that the exercises are all very freeform, but I do think that each problem has a few highly idiomatic solutions (and for these 2 I think the ones I've provided are idiomatic); Since problem 30 builds off of problem 31, I think their order should be switched.

Thank you so much for the 4clojure project!

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