Dassault Systèmes interview question

Technical Interview ->Questions were asked on projects ->Difference between linked list and array and which is better ,why? ->Mislabeled jars puzzle was asked ->one coding question you are given a paragraph consisting of letters ,numbers and special case character you have to count the occurrence of each character in the optimized way.