Question d’entretien chez Bloomberg

modified two sum leetcode and then time complexity and space