EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic: Array Problem / Level: beginner
Problem:
Count how many columns contain positive numbers in a 2D array.
More Problems
Check if a given 2D matrix is sparse (more than half of its elements are zero).
Find the maximum element in each diagonal of a 2D array.
Find the sum of the boundary elements of a 2D matrix.
Check if an array is monotonic (either entirely non-increasing or non-decreasing).
Count the number of prime numbers in an array.
Find the greatest common divisor (GCD) of all elements in an array.
Find the least common multiple (LCM) of all elements in an array.
Find the sum of elements in an array until a negative number is encountered.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...