Medifast Interview Question

Questions on string manipulation Java