Minimum Possible Value of F(k)

Company: Walmart

Difficulty: medium