Search⌘ K
AI Features

Maximal Score After Applying K Operations

Maximal Score After Applying K Operations asks you to maximize a score over exactly k turns by adding a chosen array value, then replacing it with its value divided by three and rounded up.

Statement

You are given a 0-indexed array of integer nums and an integer k. Your task is to maximize a score ...