YOKOGAWA Hiring Challenge | Online Assessment Question | Off-Campus (2025)

Question · Posted Jun 2026

Q1: Maximum Product After K Increments Problem Statement Given an integer array nums and an integer k, perform exactly k operations. In each operation, increment any one element by 1. Return the maximum possible product of all array elements after the operations. Return the answer modulo 10^9 + 7. Example Input nums = [0,4] k = 5 Output 20 Constraints 1 <= nums.length <= 10^5 0 <= k <= 10^6

The full answer & interview discussion are available to premium members.

Log in Create a free account