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 the number of elements in an array that are both prime and divisible by 3.
More Problems
Find the number of subarrays whose sum equals a given number k.
Find the sum of all elements in the odd rows of a 2D matrix.
Find the sum of all elements in the even columns of a 2D matrix.
Find the difference between the maximum and minimum elements in each row of a 2D array.
Find the largest element in a 2D matrix that is smaller than the diagonal elements.
Replace all elements in a 2D matrix that are smaller than the diagonal elements with zero.
Find the longest contiguous subarray with elements that have alternating parity (odd and even).
Find the number of contiguous subarrays where all elements are greater than the sum of their indices.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...