Pregunta de entrevista de SOTI

what is rest api and time complexity