Given a number N. Check whether it is divisble by 4.
N = 1124
Explanation: The number is divisible by 4
as 1124 % 4 = 0.
N = 7
Explanation: The number is not divisibly by
4 as 7 % 4 = 3.
You don't need to read input or print anything. Your task is to complete the function divisibleBy4() which takes the number in the form of a string N as input and returns 1 if the number is divisible by 4. Else, it returns 0.
Expected Time Complexity: O(1). Expected Auxiliary Space: O(1).