8 views
# Maximum Number of Consecutive Values You Can Make (LeetCode 2684) ## Approach Greedy with reachable prefix sum. ## Edge cases Empty / n=1 / large k. ## Practice tip Restate constraints aloud. Interview prep: [AI interview copilot](https://www.linkjob.ai/interview-copilot/).