Pregunta de entrevista de AJIO

1). Prime number program using recursion. [He didn't even allow me to write the program and kept arguing about what is the recursion and what is exit case. I felt laughter at this point.] 2). Sort the words in an array in dictionary order. 3). extract the integers from a string of chars and integers. 4). Find first repeated character in a string. Selenium & Appium:: 1). How to perform right click and select 4th option from right click menu. 2). How to handle a popup which sometimes comes. 3). How to read text from a toast element