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:
Check if the sum of the elements in the diagonal of a square 2D matrix is a perfect square.
More Problems
Check if the product of the elements in the diagonal of a square 2D matrix is a perfect cube.
Find the number of elements in an array that are divisible by both their index and the length of the array.
Find the number of elements in an array that are multiples of the difference between their index and the first element.
Find the row in a 2D matrix where the sum of even elements is smaller than the sum of odd elements.
Find the column in a 2D matrix where the product of odd elements is greater than the product of even elements.
Check if all elements in an array are greater than or equal to the sum of their digits.
Check if all elements in an array are divisible by both their digit sum and digit product.
Find the longest contiguous subarray where the sum of elements is greater than the product of their digit sum.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...