Domanda di colloquio di Barclays

coding was 4 questions, leetcode mediums