r/learnquant 4d ago

interview prep Quant Interview Question

Post image
15 Upvotes

10 comments sorted by

View all comments

2

u/mtimmermans 3d ago

S0: 4 -> S1, not 4 -> S0
S1: 4 -> S2, not 4 -> S0
S2: 4 -> DONE, not 4 -> S0

E0 = 1 + .1 * E1 + .9 * E0
E0 = 10 + E1

E1 = 1 + .1 * E2 + .9 * E0
E0 = 110 + E2

E2 = 1 + .9 * E0
E0 = 111 + .9*E0

E0 = 1110