WaFd Bank interview question

Star method