r/learnquant • • Oct 10 '26

interview prep Quant Interview Question

Post image
48 Upvotes

9 comments sorted by

View all comments

0

u/jex314 Oct 11 '26

For base b, a repeated string like this containing n distinct characters sums to b!/(2(b-n)!) Didn't feel like typing it out, so here's my work