CitiusTech Interview Question

To find the count of character sequence in a string using steam API

Interview Answer

Anonymous

May 21, 2025

Split the string using space then convert it to map as each string as key and count as value using groupingBy(identity, collectors. Counting())