Skilrock Technologies interview question

data structure and algorithms Array, string