in delhi’s odd even challenge. my code is working on other IDE but in this it shows time limit exceeded (time wall).
Time limit exceeded
it is mentioned that if the sum of digits which are even is divisible by 4 or sum of digits which are odd in that number is divisible by 3. which means you need to maintain 2 sum odd_sum and even_sum and add even digits in even_sum, odd digits in odd_sum and check the condition
Code
yaa , I got it … Thank you …