Question d’entretien chez Cyware

two DSA coding problems with time complexity reasoning