Dassault Systèmes Interview Question

Find the frequency of letters in a string