EPAM Systems interview question

square root of all elements in list using compression algorithm