Revolut Interview Question

The time complexity of the provided code (it was a duplicate search using a seen set)