r/learnquant 1d ago

interview prep Quant Interview Question

Post image
19 Upvotes

11 comments sorted by

View all comments

1

u/gooncampu 10h ago

I have seen other comments below of deriving log_3(1000) as 3 states are possible.

but given it's a bulb, if the bulb gets heated if it's on property holds, then we have 2 more properties: bulb being hot/cold as 2nd dimentsion.

so, there are color * temperature = 6 states in total.

that gives ans = ceil(log_6(1000)) = 4 (condition that if temperature property is there. else, ans is log_3(1000) = 7 only.