Tuesday, October 9, 2012

Given a string, find its rank among all its permutations sorted lexicographically.

This is a bit hard

No comments:

Post a Comment