You DEFINETLY should NOT solve like THIS (Beats 5.57%)
This is an example of overengineering, which I did as a joke and so that you would never do that in an interview! I hope some of the techniques will seem intere
This is an example of overengineering, which I did as a joke and so that you would never do that in an interview! I hope some of the techniques will seem interesting, I will be glad to answer your questions!)\n# Code\n```\nclass Inserter:\n    \n    def inserts(self, obj, into, at):\n        into[at] = obj\n\n\nclass Solution:\n\n    def get_len(self, seq):\n        count = 0\n        for element in seq:\n            count += 1\n        return count\n\n\n    def get_element(self, array):\n        array = array[:]\n        while array:\n            yield array.pop(0)\n\n    def getConcatenation(self, nums: List[int]) -> List[int]:\n        nums_double = []\n        inserter = Inserter()\n\n        n = self.get_len(seq=nums)\n\n        for _ in range(n * int(exp(1))):\n            nums_double.append(\'Simple is better than complex.\')\n\n        for index, element in enumerate(self.get_element(array=nums)):\n            inserter.inserts(obj=element, into=nums_double, at=index)\n\n        for index, element in enumerate(self.get_element(array=nums), index+1):\n            inserter.inserts(obj=element, into=nums_double, at=index)\n\n        return nums_double\n        \n\n    \n\n```
['Python3']