-
Maximum and minimum sums from two numbers with digit replacements in C++
-
Maximum array sum that can be obtained after exactly k changes in C++
-
Maximum consecutive numbers present in an array in C++
-
Maximum count of equal numbers in an array after performing given operations in C++
-
Maximum count of pairs which generate the same sum in C++
-
Count elements less than or equal to a given value in a sorted rotated array in C++
-
Count elements such that there are exactly X elements with values greater than or equal to X in C++
-
Count even length binary sequences with same sum of first and second half bits in C++
-
Count frequencies of all elements in array in O(1) extra space and O(n) time in C++
-
Count index pairs which satisfy the given condition in C++
-
Count minimum number of “move-to-front” moves to sort an array in C++
-
Count minimum right flips to set all values in an array in C++
-
Count minimum steps to get the given desired array in C++
-
Count no. of columns that are not sorted in increasing order in C++
-
Maximum number by concatenating every element in a rotation of an array in C++
-
Maximum mirrors which can transfer light from bottom to right in C++
-
Maximize the value of x + y + z such that ax + by + cz = n in C++
-
Maximize arr[j] – arr[i] + arr[l] – arr[k], such that i < j < k < l in C++
-
Count Magic squares in a grid in C++
-
Construct Turing machine for L = {an bm a(n+m) - n,m≥1} in C++