Pergunta de entrevista da empresa Cognizant

Write a Python function to find the minimum number in a given list

Resposta da entrevista

Sigiloso

9 de dez. de 2024

I provided two solutions: the first utilized Python's built-in min() function, while the second involved iterating through the list with a for loop, updating a variable to track the smallest number whenever a smaller value was encountered.