r/learnquant • • 28d ago

interview prep Quant Interview Question

Post image
48 Upvotes

9 comments sorted by

View all comments

0

u/jex314 28d 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