Pregunta de entrevista de Amazon

given array of string your programme should return 3 suggestion bsed on prefix string