def get_camelcase_name_chunks(name):
    """
    Given a name, get its parts.
    E.g: maxCount -> ["max", "count"]
    """
    out = []
    out_str = ""
    for c in name:
        if c.isupper():
            if out_str:
                out.append(out_str)
            out_str = c.lower()
        else:
            out_str += c
    out.append(out_str)
    return out