Istra interview question

probability question, difficult, require high knowledge