AMAZON SDE INTERN INTERVIEW QUESTION
3287
Oct 15, 2021
Oct 15, 2021
Given a number of at most 100 digits. We have to check if it is possible, after removing certain digits, to obtain a number of at least one number which is divisible by 16. We are forbidden to rearrange the digits.

EXAMPLE: 31162
WE CAN GET SUBSEQUENCE 32,16,16
RETURN TRUE
Comments (8)