Red Hat interview question

- Do a function in X language with algorithm, describe complexity