Contribute to Ajith-kvk/my_leetcode development by creating an account on GitHub.
Given an integer array nums and an integer k, modify the array in the following way: choose an index i and replace nums[i] with -nums[i]. You should apply this process exactly k times. You may choose ...