InterviewBit Academy is now Scaler!
InterviewBit Academy is now Scaler Academy!

Next Number II

Identify the next number in the sequence

31, 28, 31, 30, __?

Answer is a integer. Just put the number without any decimal places if its an integer. If the answer is Infinity, output Infinity.

Feel free to get in touch with us if you have any questions

Sign Up
to access hints and editorial solutions for Next Number II
Asked In:


Click here to start solving coding interview questions