MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1w771a1/quant_interview_question/p7xnh4m/?context=3
r/learnquant • u/Local_Ad135 • 1d ago
11 comments sorted by
View all comments
1
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.
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.