Pergunta de entrevista da empresa GE HealthCare

Given 5 zeroes, the number 120 must be made from these without using basic arithmetic operations i.e just adding 120 or multiplying by 24.

Resposta da entrevista

Sigiloso

22 de set. de 2024

I struggled to notice it at first but then the interviewer gave a hint saying factorial and then it struck me that 5! = 120 and each 0 should be made a factorial because 0! = 1 and with five ones we can make 120.