Data Analysts Interview Questions

49,272 data analysts interview questions shared by candidates

There are n bulbs in a circle. Initially all are off. There are n switches in the same circle. Toggling one switch will toggle the state of the corresponding bulb and also toggle the state of each of the adjacent bulbs. In how many switch toggles will you be able to turn on all the bulbs?
avatar

Data Analyst

Interviewed at AXA XL

3.8
Sep 4, 2019

There are n bulbs in a circle. Initially all are off. There are n switches in the same circle. Toggling one switch will toggle the state of the corresponding bulb and also toggle the state of each of the adjacent bulbs. In how many switch toggles will you be able to turn on all the bulbs?

Viewing 171 - 180 interview questions

Glassdoor has 49,272 interview questions and reports from Data analysts interviews. Prepare for your interview. Get hired. Love your job.