Skip to content

Day 16 part 2: computing the answer can be 2^n * n #1

Open
@mbuzdalov

Description

@mbuzdalov

fun find(i: Int, m1: Long, m2: Long): Int {

If you "expand" bm such that it represents the best solution on a subset of the argument, you don't need the third subset :)

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