“…Despite such a long history in the literature, the gambler's ruin is still an actively studied problem [11,12,13,14,15,16,17,18,19,20]. It is also used as a model for diverse applied problems, such as business risk [21,22,23], quantum mechanics [24,25], anomaly detection [26], material properties [27,28,29], or yet other physical [30,31], biological [32,33], and even social phenomena [34]. The gambler's ruin has recently been associated with a survival version of multiarmed bandits [35,36,37], which in turn is an essential model for studying sequential decision and learning problems [38].…”