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:
Find the smallest element in each diagonal of a square 2D matrix.
More Problems
Check if the sum of elements at odd indices in an array is equal to the sum of elements at even indices.
Check if the product of elements at prime indices in an array is a prime number.
Find the row in a 2D matrix where the sum of all prime numbers is the smallest.
Find the column in a 2D matrix where the product of all composite numbers is the largest.
Check if all elements in an array are greater than their indices.
Check if all elements in an array are smaller than their indices.
Find the longest contiguous subarray where all elements are odd numbers.
Find the longest contiguous subarray where all elements are even numbers.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...