AKUNA CAPITAL interview question

Strings and probability