Indegene Interview Question

Difference between queue, stack, linked list and array Code for anagram or not