Nutanix interview question

LC easy algo questions - string manipulation, lists, hashmaps