Anora interview question

String rotation, java , data structure, DBMS