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 number of elements in an array that are divisible by both their digit sum and index sum.
More Problems
Find the number of elements in an array that are divisible by both their digit product and index product.
Check if all rows in a 2D matrix contain elements smaller than the sum of their digit sum.
Check if all columns in a 2D matrix contain elements greater than the product of their digit product.
Find the longest contiguous subarray where the sum of elements is greater than their index product.
Find the longest contiguous subarray where the product of elements is greater than their index sum.
Check if the sum of elements at even indices in an array is greater than the sum of their digit sum.
Check if the product of elements at odd indices in an array is greater than the product of their digit product.
Find the number of subarrays where the sum of elements is a multiple of both 12 and 18.
Python
Language
Editor
Run & Output
Save
AI Code Generate
AI Test Case
Run the code to see the output here...