Skip to content

    initsHaskell

    Created by
    shriramcs
    shriramcs

    Given a list, return a list of all its prefixes in ascending order of their length. You’re essentially implementing the inits function in Haskell!

    Preview