Doors were numbered from 1-100 and first time I close all doors next I open doors with numbers that are multiples of 2 next I close doors numbered with multiples of 3 and so on upto 100th time. After the 100th time which doors are open
After opening and closing doors with multiples of their numbers, which doors are open?
Doors with odd number factors will be open after 100th time
Doors with even number factors will be closed after 100...read more
after the 100th iteration, the doors that are open are those numbered 1, 4, 9, 16, 25, 36, 49, 64, 81, and 100.
after the 100th iteration, the doors that are open are those numbered 1, 4, 9, 16, 25, 36, 49, 64, 81, and 100.
the perfect squares from 1 to 100 will be opened
44.
if we divide 1-100 in 10 columns
for multiple of 2 = 5 times in 1 column so in 10 columns = 5*10=50
similarly
for multiple of 3 = 3 times in 1 column so in 10 column = 3*10 =30
for multiple of 4 =...read more
34
There are 100 doors and 100 people. The doors have two states (open/closed). All the doors are closed at first. Then the first person opens all the doors, the second person toggles the doors in multip...read more
Multiples of 100
Multiples of 100
Top EXL Service Business Analyst interview questions & answers
Popular interview questions of Business Analyst
Top HR questions asked in EXL Service Business Analyst
Reviews
Interviews
Salaries
Users/Month