Will this algorithm scale to solve that UserStory? Well, how can you find out? Try TheArtOfComputerProgramming or IntroductionToAlgorithms.
CategoryComplexity