Pregunta de entrevista de Rippling

Design an algorithm that solves an ATM.