Deloitte Interview Question

Coding question such as count the number of e in a string