WhatBytes interview question

How would a implement a OTP screen and its functionalities(methods).

Interview Answer

Anonymous

30 Jan 2026

What I'll do after clicking the button, methods I would call(confused the interviewer gave a unstructured and incomplete answer). Interviewer so kind to explain better and also explained the answer himself at last.