Safestore Interview Question

Pretty simple leetcode algorithms test.