Cognizant Interview Question

Q: Stack vs array difference and uses test basic understanding