Domanda di colloquio di Cyware

two DSA coding problems with time complexity reasoning