CaaS Capital Management Interview Question

Mainly arrays and strings, no advanced algorithm required