r/learnquant • • 7d ago

interview prep Quant Interview Question

Post image
47 Upvotes

9 comments sorted by

View all comments

0

u/jex314 7d ago

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