You have an array, arr consisting of n integers. Find the minimum number of operations required to convert every element of this array to zero.
How to Fix <bits/stdc++.h> File not Found in MacOS? File Not Found Error while including bits/stdc++.h | How to include bits/stdc++.h header file on macOS
Given a large number as string (size upto 10^5). Find count of subsequences which are divisible by 4 ( asked in salesforce ). Find count of subsequences which are divisible by N.
Quadeye Latest Online Assessment Questions 2025 | Quadeye OA 2025 Python Developer | Insights into Quadeye OA 2025 for Aspiring Python Developers
Given a Pattern containing only Ns and M’s. N represents ascending and M represents descending, Each character (M or N) needs to display sequence of numbers(2 numbers) explaining the ascending or descending order (for ex: 21 -> represents descending -> M). The second character in the pattern takes the last digit from first character and builds the sequence and so on.
Given an integer array as input, find out the integers which contain the digits 1, 2, and 3 in their formation
There are a number of plants in a garden. Each of the plants has been treated with some amount of pesticide. After each day, if any plant has more pesticide than the plant on its left, being weaker than the left one, it dies. You are given the initial values of the pesticide in each of the plants. Determine the number of days after which no plant dies, i.e. the time after which there is no plant with more pesticide content than the plant to its left.