Automation Anywhere interview question

Array, LinkedList operations